+.. |tangent.icon| image:: images/Tangent.png
Tangent constraint
==================
To create a Tangent in the active Sketch:
#. select in the Main Menu *Sketch - > Tangent* item or
-#. click **Tangent** button in Sketch toolbar:
-
-.. image:: images/tangent.png
- :align: center
-
-.. centered::
- **Tangent** button
+#. click |tangent.icon| **Tangent** button in Sketch toolbar:
Property panel:
-.. image:: images/Tangent_panel.png
+.. figure:: images/Tangent_panel.png
:align: center
Input fields:
After the objects are selected, a special sign will be added close to the tangency point in the view.
-**TUI Command**: *Sketch_1.setTangent(Line, CircleOrArc)*
+**TUI Command**:
-**Arguments**: 2 objects (the first is a line, the second one is a circle or an arc)
+.. py:function:: Sketch_1.setTangent(Line, CircleOrArc)
+
+ :param object: A line.
+ :param object: A circle or an arc.
+ :return: Result object.
Result
""""""
Created Tangent constraint appears in the view.
-.. image:: images/Tangent_res.png
- :align: center
+.. figure:: images/Tangent_res.png
+ :align: center
-.. centered::
Created tangent constraint
**See Also** a sample TUI Script of :ref:`tui_create_tangent` operation.