]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for bug IPAL11705 ( problems with "import SMESH_GroupLyingOnGeom" ).
authormzn <mzn@opencascade.com>
Thu, 2 Mar 2006 12:45:45 +0000 (12:45 +0000)
committermzn <mzn@opencascade.com>
Thu, 2 Mar 2006 12:45:45 +0000 (12:45 +0000)
src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py

index 6a4533ea7415f92a046e1ab51f4be52bb7dfa609..31e89c3a1045af33bdc95fd652942a8d7e9bb162 100644 (file)
@@ -15,9 +15,9 @@ def BuildGroupLyingOn(theMesh, theElemType, theName, theShape):
     aGroup.Add(anIds)
 
 #Example
-## from SMESH_test1 import *
+from SMESH_test1 import *
 
-## smesh.Compute(mesh, box)
-## BuildGroupLyingOn(mesh, SMESH.FACE, "Group of faces lying on edge", edge )
+smesh.Compute(mesh, box)
+BuildGroupLyingOn(mesh, SMESH.FACE, "Group of faces lying on edge", edge )
 
-## salome.sg.updateObjBrowser(1);
+salome.sg.updateObjBrowser(1);