+.. |collinear.icon| image:: images/collinear.png
Collinear constraint
====================
To create a Collinear constraint in the active Sketch:
#. select in the Main Menu *Sketch - > Collinear* item or
-#. click **Collinear** button in Sketch toolbar:
-
-.. image:: images/collinear.png
- :align: center
-
-.. centered::
- **Collinear** button
+#. click |collinear.icon| **Collinear** button in Sketch toolbar:
Property panel:
-.. image:: images/Collinear_panel.png
+.. figure:: images/Collinear_panel.png
:align: center
Input fields:
| After the lines are selected, they are translated to become collinear.
| The lines are marked with a special sign.
-**TUI Command**: *Sketch_1.setCollinear(Line1, Line2)*
+**TUI Command**:
-**Arguments**: 2 line objects
+.. py:function:: Sketch_1.setCollinear(Line1, Line2)
+
+ :param object: First object.
+ :param object: Second object.
+ :return: Result object.
Result
""""""
Created Collinear constraint appears in the view.
-.. image:: images/Collinear_res.png
- :align: center
+.. figure:: images/Collinear_res.png
+ :align: center
-.. centered::
Created collinear constraint
**See Also** a sample TUI Script of :ref:`tui_create_collinear` operation.