Salome HOME
0023360: [CEA 1963] Use salome.sg.updateObjBrowser(True) instead of salome.sg.updateO...
[modules/smesh.git] / doc / salome / examples / grouping_elements_ex01.py
index 9181e43dfb8f94fb473a81f69ea726ee1133b292..0bb1b9a2f9321571a12c41620dbfe5995773017d 100644 (file)
@@ -40,7 +40,7 @@ print "size", aGroup.Size()
 print "is empty", aGroup.IsEmpty()
 
 # check of presence of an entity in the group
-aGroup.Add([1,2]) # method specific to the standalone group
+aGroup.Add([1,2]) # Add() method is specific to the standalone group
 print "contains node 2", aGroup.Contains(2)
 
 # get an entity by index
@@ -77,4 +77,4 @@ aGroup.Remove( [2,3,4] )
 
 
 
-salome.sg.updateObjBrowser(1)
+salome.sg.updateObjBrowser(True)