]> SALOME platform Git repositories - modules/smesh.git/blobdiff - doc/salome/gui/SMESH/input/tui_grouping_elements.doc
Salome HOME
0020752: EDF 1303 SMESH : Add a 'Select All' button in Create Group dialog box
[modules/smesh.git] / doc / salome / gui / SMESH / input / tui_grouping_elements.doc
index e03433f1c7a02337adc5db6c5adfdcd2909d6037..763e939d4fa9cea7f510f213119e434d6df4d901 100644 (file)
@@ -1,4 +1,4 @@
-/*!
+       /*!
 
 \page tui_grouping_elements_page Grouping Elements
 
@@ -19,7 +19,11 @@ aFilter = smesh.GetFilter(smesh.FACE, smesh.FT_Area, smesh.FT_MoreThan, 100.)
 anIds = mesh.GetIdsFromFilter(aFilter) 
 
 # create a group consisting of faces with area > 100
-aGroup = mesh.MakeGroupByIds("Area > 100", smesh.FACE, anIds)
+aGroup1 = mesh.MakeGroupByIds("Area > 100", smesh.FACE, anIds)
+
+# create a group that contains all nodes from the mesh
+aGroup2 = mesh.CreateEmptyGroup(smesh.NODE, "all nodes")
+aGroup2.AddFrom(mesh.mesh)
 
 salome.sg.updateObjBrowser(1)
 \endcode
@@ -318,13 +322,13 @@ salome.sg.updateObjBrowser(1)
 \endcode
 
 \image html dimgroup_tui1.png
-<center>Source groups of faces<\center>
+<center>Source groups of faces</center>
 
 \image html dimgroup_tui2.png
-<center>Result groups of edges and nodes<\center>
+<center>Result groups of edges and nodes</center>
 
 
 
 
 
-*/
\ No newline at end of file
+*/