Salome HOME
Merge tag 'V8_3_0a2' into ngr/python3_dev
[modules/smesh.git] / src / SMESH_SWIG / SMESH_GroupLyingOnGeom.py
index 5d8d881a8145742b47e06b04579dda916c89566e..47bb94fbdb441c55edabb7cdee9ac2c981ae648c 100644 (file)
@@ -37,7 +37,7 @@ def BuildGroupLyingOn(theMesh, theElemType, theName, theShape):
     aGroup.Add(anIds)
 
 #Example
-from SMESH_test1 import *
+from .SMESH_test1 import *
 
 mesh.Compute()
 
@@ -47,4 +47,4 @@ BuildGroupLyingOn(mesh.GetMesh(), SMESH.FACE, "Group of faces lying on edge #1",
 # Second way
 mesh.MakeGroup("Group of faces lying on edge #2", SMESH.FACE, SMESH.FT_LyingOnGeom, edge)
 
-salome.sg.updateObjBrowser(1);
+salome.sg.updateObjBrowser(True)