.. _buildPolyline:
+.. |feature_polyline.icon| image:: images/feature_polyline.png
Polyline
========
To create a Polyline in the active part:
#. select in the Main Menu *Build - > Polyline* item or
-#. click **Polyline** button in the toolbar
-
-.. image:: images/feature_polyline.png
- :align: center
-
-.. centered::
- **Polyline** button
+#. click |feature_polyline.icon| **Polyline** button in the toolbar
The following property panel appears.
- **Points and vertices** panel contains a list of points and vertices selected in 3D OCC viewer. The Polyline consequently connects points;
- **Closed** check-box turns on/off connection of the start and end points to make polyline closed/opened.
-**TUI Commands**: *model.addPolyline3D(Part_1_doc, Polyline_objects, Key)*
+**TUI Commands**:
+
+.. py:function:: model.addPolyline3D(Part_1_doc, Polyline_objects, Key)
-**Arguments**: 1 part+ list of vertices selected in format *model.selection("VERTEX", "Point")* + Boolean key defining connection between the start and end points.
+ :param part: The current part object.
+ :param list: list of vertices selected in format *model.selection("VERTEX", "Point")*.
+ :param boolean: Is closed.
+ :return: Result object.
Result
""""""