Salome HOME
Update TUI doc on groups
[modules/smesh.git] / doc / salome / examples / grouping_elements_ex04.py
index 56901320a2e108cdc5882212b42745162992887b..9beb77e364512bac452ac2f5b2520bc1114ad37c 100644 (file)
@@ -27,6 +27,7 @@ print "Criterion: Area > 40, Nb = ", len(anIds)
 
 # create a group of elements with area [35; 40] by removing elements with area > 40 from group aGroup
 aGroup.Remove(anIds) 
 
 # create a group of elements with area [35; 40] by removing elements with area > 40 from group aGroup
 aGroup.Remove(anIds) 
+aGroup.SetName("35 < Area < 40")
 
 # print the result
 aGroupElemIDs = aGroup.GetListOfID()
 
 # print the result
 aGroupElemIDs = aGroup.GetListOfID()