+
+
+By two points
+-------------
+
+.. image:: images/EdgeByTwoPoints.png
+ :align: center
+
+.. centered::
+ Create by points
+
+Select two points in the viewer.
+
+**Apply** button creates a segment.
+
+**Cancel** button cancels the operation.
+
+**TUI Command**: *model.addEdge(Part_doc, Point_1, Point_2)*
+
+**Arguments**: Part document + two points/vertices.
+
+Result
+""""""
+
+The result of the operation will be a segment bounded by selected points:
+
+.. image:: images/CreateEdgeByPoints.png
+ :align: center
+
+.. centered::
+ Result of the operation.
+
+**See Also** a sample TUI Script of :ref:`tui_create_segment` operation.