Salome HOME
Merge 'master' branch into 'V9_dev' branch.
[modules/smesh.git] / src / SMESH_SWIG / SMESH_GroupLyingOnGeom.py
index 47bb94fbdb441c55edabb7cdee9ac2c981ae648c..f0e56293d43456aef9f2ca08550437efcf0f21ed 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(True)
+salome.sg.updateObjBrowser()