+.. |union_btn.icon| image:: images/union_btn.png
Union
=====
To create a Union in the active part:
#. select in the Main Menu *Features - > Union* item or
-#. click **Union** button in the toolbar
-
-.. image:: images/union_btn.png
- :align: center
-
-.. centered::
- **Union** button
+#. click |union_btn.icon| **Union** button in the toolbar
The following property panel will be opened:
-.. image:: images/Union.png
- :align: center
+.. figure:: images/Union.png
+ :align: center
-.. centered::
**Union operation**
Here it is necessary to select some objects. Only faces with shared edges or solids with shared faces are allowed for selection.
**Cancel** button cancels the operation.
-**TUI Command**: *model.addUnion(Part_doc, objects)*
+**TUI Command**:
+
+.. py:function:: model.addUnion(Part_doc, objects)
-**Arguments**: Part + list of objects.
+ :param part: The current part object.
+ :param objects: A list of objects.
+ :return: Result object.
Result
""""""
The Result of the operation will be a shape which is a union of selected objects:
-.. image:: images/CreatedUnion.png
- :align: center
+.. figure:: images/CreatedUnion.png
+ :align: center
-.. centered::
**Union created**
**See Also** a sample TUI Script of :ref:`tui_create_union` operation.