1 .. |collinear.icon| image:: images/collinear.png
6 Collinear constraint forces lines to be collinear.
8 To create a Collinear constraint in the active Sketch:
10 #. select in the Main Menu *Sketch - > Collinear* item or
11 #. click |collinear.icon| **Collinear** button in Sketch toolbar:
15 .. figure:: images/Collinear_panel.png
20 - **First line** is the first line selected in the view.
21 - **Second line** is the second line selected in the view.
23 | After the lines are selected, they are translated to become collinear.
24 | The lines are marked with a special sign.
28 .. py:function:: Sketch_1.setCollinear(Line1, Line2)
30 :param object: First object.
31 :param object: Second object.
32 :return: Result object.
37 Created Collinear constraint appears in the view.
39 .. figure:: images/Collinear_res.png
42 Created collinear constraint
44 **See Also** a sample TUI Script of :ref:`tui_create_collinear` operation.