+.. |horisontal.icon| image:: images/horisontal.png
Horizontal constraint
=====================
To create a Horizontal constraint in the active Sketch:
#. select in the Main Menu *Sketch - > Horizontal* item or
-#. click **Horizontal** button in Sketch toolbar:
-
-.. image:: images/horisontal.png
- :align: center
-
-.. centered::
- **Horizontal** button
+#. click |horisontal.icon| **Horizontal** button in Sketch toolbar:
Property panel:
| After the line is selected it becomes parallel to the horizontal axis in the view.
| **H** sign is added above the line.
-**TUI Command**: *Sketch_1.setHorizontal(LineObject)*
+**TUI Command**:
+
+.. py:function:: Sketch_1.setHorizontal(LineObject)
-**Arguments**: 1 line object
+ :param object: A line.
+ :return: Result object.
Result
""""""