What does LINE do?
LINE creates straight line segments between specified points. You can draw a single line or continue specifying points to create a sequence of connected segments. Each segment remains a separate line object, so it can be selected, moved, trimmed or otherwise edited independently from the neighbouring segments.
How to use the command
- Type
LINEor its shortcut L, then press Enter. - Specify the first point by clicking in the drawing or entering coordinates.
- Specify the endpoint of the first line segment.
- Continue specifying additional points if more connected segments are required.
- Use Undo to remove the most recently created segment or Close to connect the last point back to the first point.
- Press Enter to finish the command.
Command: L ↵
Specify first point: 0,0 ↵
Specify next point or [Undo]: 4000,0 ↵
Specify next point or [Undo]: 4000,3000 ↵
Specify next point or [Close/Undo]: 0,3000 ↵
Specify next point or [Close/Undo]: C ↵
Key LINE options
The command provides simple controls for creating, correcting and closing a sequence of straight line segments.
Practical example: draw a rectangular room outline
Suppose a room measures 4000 mm by 3000 mm. Start LINE and enter 0,0 as the first point. Enter 4000,0, followed by 4000,3000 and 0,3000. Choose Close to connect the final point back to the starting point. GstarCAD creates four individual line objects forming the rectangular room outline.
Tip
Press Enter at the first-point prompt to continue from the endpoint of the previously created line or arc. Use PLINE instead when all connected segments should behave as one polyline object.