1 .. |horisontal.icon| image:: images/horisontal.png
6 Horizontal constraint fixes lines as parallel to the horizontal axis.
8 To create a Horizontal constraint in the active Sketch:
10 #. select in the Main Menu *Sketch - > Horizontal* item or
11 #. click |horisontal.icon| **Horizontal** button in Sketch toolbar:
15 .. figure:: images/Horizontal_panel.png
20 - **Line** is the line selected in the view.
22 | After the line is selected it becomes parallel to the horizontal axis in the view.
23 | **H** sign is added above the line.
27 .. py:function:: Sketch_1.setHorizontal(LineObject)
29 :param object: A line.
30 :return: Result object.
35 Created Horizontal constraint appears in the view.
37 .. figure:: images/Horizontal_res.png
40 Horizontal constraint created
42 **See Also** a sample TUI Script of :ref:`tui_create_horizontal` operation.