mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-24 16:30:34 +05:00
Fix a bug - salome.py is not imported here and this causes run-time Python exception
This commit is contained in:
parent
992b382297
commit
b85751e356
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user