1 .. |shape_group.icon| image:: images/shape_group.png
6 A group is a set of geometrical entities created by selection of sub-shapes of the same type.
7 To create a Group in the active part:
9 #. select in the Main Menu *Features - > Group* item or
10 #. click |shape_group.icon| **Group** button in the toolbar:
12 The following property panel appears.
14 .. image:: images/group_property_panel.png
22 - **Name** defines the name of the group, by default, it is **Group_n**.
23 - **Type** buttons select geometrical entities to be included in group:
25 .. image:: images/group_property_panel_vertice.png
29 .. image:: images/group_property_panel_edge.png
33 .. image:: images/group_property_panel_face.png
37 .. image:: images/group_property_panel_solid.png
41 - The list of selected entities of the given type. Multiple selection can be done manually in OCC 3D Viewer by mouse click with Shift button pressed or by rectangle selection. To delete entities from the list, select them and call pop-up menu *Delete* item.
43 - 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.
47 .. 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")])
49 :param part: The current part object
50 :param list: A list of selected entities with type
51 :return: Created object.
56 Created Group appears in the view.
58 .. image:: images/group_res.png
64 **See Also** a sample TUI Script of :ref:`tui_create_group` operation.