Salome HOME
Merge from V6_main 28/02/2013
[modules/smesh.git] / doc / salome / examples / quality_controls_ex03.py
index 8cb409866181c3672f49c8c25832264234b631be..eaa607b94aa671a29703c07d6dd888ca45f78958 100644 (file)
@@ -37,7 +37,7 @@ for i in range(len(anIds)):
 print ""
 
 # create a group
-aGroup = mesh.CreateGroup(SMESH.EDGE, "Edges with length > " + `length_margin`)
+aGroup = mesh.GetMesh().CreateGroup(smesh.EDGE, "Edges with length > " + `length_margin`)
 aGroup.Add(anIds)
 
 salome.sg.updateObjBrowser(1)