mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-26 18:40:34 +05:00
PR: restore missing attributes for compatibility with old scripts
This commit is contained in:
parent
3f1015c8e4
commit
d6941cf347
@ -43,11 +43,13 @@ try:
|
||||
engineSmesh = salome.lcc.FindOrLoadComponent( "FactoryServer", "SMESH" )
|
||||
smesh = smeshBuilder.New(salome.myStudy, engineSmesh)
|
||||
except:
|
||||
print "exception in smesh.py: instance creation failed"
|
||||
smesh = None
|
||||
pass
|
||||
|
||||
# load plugins and add dynamically generated methods to Mesh class,
|
||||
# the same for for global variables declared by plug-ins
|
||||
from salome.smesh.smeshBuilder import *
|
||||
from salome.smesh.smeshBuilder import Mesh, algoCreator
|
||||
for pluginName in os.environ[ "SMESH_MeshersList" ].split( ":" ):
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user