Fix a bug - salome.py is not imported here and this causes run-time Python exception

This commit is contained in:
vsr 2005-02-21 06:05:00 +00:00
parent 992b382297
commit b85751e356

View File

@ -1,9 +1,7 @@
import SMESH
from meshpy import *
def BuildGroupLyingOn(theMesh, theElemType, theName, theShape):
aMeshGen = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH")
aFilterMgr = aMeshGen.CreateFilterManager()
aFilterMgr = smesh.CreateFilterManager()
aFilter = aFilterMgr.CreateFilter()
aLyingOnGeom = aFilterMgr.CreateLyingOnGeom()