Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
992b382
)
Fix a bug - salome.py is not imported here and this causes run-time Python exception
V2_2_0
author
vsr
<vsr@opencascade.com>
Mon, 21 Feb 2005 06:05:00 +0000
(06:05 +0000)
committer
vsr
<vsr@opencascade.com>
Mon, 21 Feb 2005 06:05:00 +0000
(06:05 +0000)
src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py
patch
|
blob
|
history
diff --git
a/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py
b/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py
index 660d3ad1b6a8413792482258848478083ce04a11..26097adb8ba00f58c01cd6ea08fd4ce90c699e4b 100644
(file)
--- a/
src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py
+++ b/
src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py
@@
-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()