Salome HOME
Ameliorate help pages
[modules/shaper.git] / src / CollectionPlugin / doc / groupFeature.rst
index 5b7923c7d8bfbb2781f8133e74e0df4abde6f163..5944cdadc70ec425166212e0cb2c724a2ec314fd 100644 (file)
@@ -1,3 +1,4 @@
+.. |shape_group.icon|    image:: images/shape_group.png
 
 Group
 =====
@@ -6,13 +7,7 @@ A group is a set of geometrical entities created by selection of sub-shapes of t
 To create a Group in the active part:
 
 #. select in the Main Menu *Features - > Group* item  or
-#. click **Group** button in Shaper toolbar:
-
-.. image:: images/shape_group.png
-  :align: center
-
-.. centered::
-   Group button
+#. click |shape_group.icon| **Group** button in the toolbar:
 
 The following property panel appears. 
 
@@ -47,10 +42,13 @@ Input fields:
 
 - Control **Add elements that share the same topology** allows to add automatically all elements laying on the same topology that was selected and remove these elements if they have disappeared due to the parametrical update. They will be represented as one line in the list of selection and managed in the viewer as one object if this flag is enabled. If flag becomes disabled when such elements are already in the list, they will become divided in one line per one shape.
 
-**TUI Command**: *model.addGroup(Part_1_doc, [model.selection("EDGE", "Cone_1_1/Face_1&Cone_1_1/Face_2"), model.selection("EDGE", "Cone_1_1/Face_1")])*
+**TUI Command**:
 
-**Arguments**:  1 part + list of selected entities with type
+.. py:function:: model.addGroup(Part_1_doc, [model.selection("EDGE", "Cone_1_1/Face_1&Cone_1_1/Face_2"), model.selection("EDGE", "Cone_1_1/Face_1")])
 
+    :param part: The current part object
+    :param list: A list of selected entities with type
+    :return: Created object.
 
 Result
 """"""