Salome HOME
Merge from V6_main 28/02/2013
[modules/smesh.git] / doc / salome / examples / quality_controls_ex02.py
index 7b1f55e6fc5aca88cb4507986992a68093df42af..5373c4d6fdd9dec843588cbd347137a816dc82b7 100644 (file)
@@ -38,7 +38,7 @@ for i in range(len(anIds)):
 print ""
 
 # create a group
-aGroup = mesh.CreateGroup(SMESH.EDGE, "Borders at multi-connections")
+aGroup = mesh.GetMesh().CreateGroup(smesh.EDGE, "Borders at multi-connections")
 aGroup.Add(anIds)
 
 salome.sg.updateObjBrowser(1)