Line
Alias: L
Creates one or more connected line segments.
Description
The Line command draws straight line segments between two or more points. Each segment is a separate object. Lines can be continued from the endpoint of the previous line by pressing Space at the start point prompt.
Workflow
Type
Land pressSpaceorEnter.Specify first point: Click a point on the canvas or type coordinates (e.g.
10,20).Specify next point: Click the next point or type a distance and angle.
Continue specifying points to draw further connected segments.
Press
EnterorEscapeto end the command, or typeCloseto join the last point back to the first.
Options available at the Specify next point prompt:
Close — Connects the last point back to the first point, closing the shape. Available after two or more segments have been drawn.
Tips
Use Ortho mode (
F8) to constrain lines to horizontal or vertical directions.Use object snap to start or end lines precisely on existing geometry.
Press
Spaceat the Specify first point prompt to continue from the last drawn point.Type coordinates directly (
x,y) for precise placement.
DXF Representation
A line is stored as a LINE entity in the DXF ../dxf BLOCKS section.
0
LINE
8 ← layer name
0
10 ← start point X
0.0
20 ← start point Y
0.0
11 ← end point X
100.0
21 ← end point Y
100.0
Each segment created by the Line command becomes a separate LINE entity. To store connected segments as a single entity, use Polyline (LWPOLYLINE).