Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Redesign SALOME documentation
[modules/smesh.git]
/
doc
/
salome
/
examples
/
grouping_elements_ex01.py
diff --git
a/doc/salome/examples/grouping_elements_ex01.py
b/doc/salome/examples/grouping_elements_ex01.py
index 9181e43dfb8f94fb473a81f69ea726ee1133b292..0bb1b9a2f9321571a12c41620dbfe5995773017d 100644
(file)
--- a/
doc/salome/examples/grouping_elements_ex01.py
+++ b/
doc/salome/examples/grouping_elements_ex01.py
@@
-40,7
+40,7
@@
print "size", aGroup.Size()
print "is empty", aGroup.IsEmpty()
# check of presence of an entity in the group
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
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
)