Salome HOME
Fix incorrect doc example
authorgdd <gdd>
Mon, 20 Aug 2012 15:02:39 +0000 (15:02 +0000)
committergdd <gdd>
Mon, 20 Aug 2012 15:02:39 +0000 (15:02 +0000)
doc/salome/gui/SMESH/input/tui_quality_controls.doc

index bc99172aaec77fceb5ec25b114f2eb7d1caf1939..2991eb521fe8b6116ec834492b5799460137234b 100644 (file)
@@ -164,8 +164,8 @@ mesh.RemoveElements(anIds)
 aBorders = mesh.GetFreeBorders() 
 
 # create groups
 aBorders = mesh.GetFreeBorders() 
 
 # create groups
-aGroupF = mesh.CreateGroup(SMESH.FACE, "Faces with free edges")
-aGroupN = mesh.CreateGroup(SMESH.NODE, "Nodes on free edges")
+aGroupF = mesh.CreateEmptyGroup(smesh.FACE, "Faces with free edges")
+aGroupN = mesh.CreateEmptyGroup(smesh.NODE, "Nodes on free edges")
 
 # fill groups with elements, corresponding to the criterion
 print ""
 
 # fill groups with elements, corresponding to the criterion
 print ""