mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-16 03:40:32 +05:00
Fix for IPAL14235. Addition of possibility to use script in batch mode.
This commit is contained in:
parent
d1f5fb3e0b
commit
60025821aa
@ -107,4 +107,5 @@ mesh.Compute()
|
||||
salome.sg.updateObjBrowser(1);
|
||||
|
||||
sg = salome.ImportComponentGUI('SMESH')
|
||||
sg.CreateAndDisplayActor('0:1:2:3')
|
||||
if type(sg) != type(salome.salome_ComponentGUI):
|
||||
sg.CreateAndDisplayActor('0:1:2:3')
|
||||
|
Loading…
Reference in New Issue
Block a user