# Line

To create a Line in the Main Menu select New Entity - > Basic - > Line

To create a Line you should define Point1 and Point2, which are the points through which the Line passes.

The Result of the operation will be a GEOM_Object (edge).

TUI Command: geompy.MakeLineTwoPnt(Point1, Point2)

Arguments: Name + 2 vertices.

Example:

NB! There is another way to create a line, which is currently accessible only via TUI commands.

You can define a line passing through the given Point and parallel to the given Vector.

TUI Command: geompy.MakeLine(Point, Vector)

Our TUI Scripts provide you with useful examples of creation of Basic Geometric Objects.