GstarCAD 2027 · Command Reference
Commands > P Command > PLINE
Function Description:
This command is used to create a 2D polyline. The 2D polyline is a single object composed by line and arc segments.
Command Access:
Icon:
Menu: Draw > Polyline
Ribbon: Home > Draw > Polyline
Toolbar: Draw > Polyline
Command: PLINE
Alias: PL
Command Prompts:
Specify start point:
Current line-width is 0.0000
Specify next point or [Arc/Halfwidth/Length/Undo/Width/aNgle]:

Sets the starting point for the polyline.
Draws a line, specifies a second point.
Adds arcs to the polyline.
Specify endpoint of arc: Specify the endpoint of arc.
- CEnter: Specify the center of arc.
- Radius: Specify the radius of arc.

CEnter: Specify center of arc.
Specify endpoint of arc: Specify the endpoint of arc.



The halfwidth of start point will be default halfwidth of endpoint. The halfwidth of endpoint will become the sub-sequence default halfwidth for all segments until changed. The start point and the endpoint of wide lines lie in its center. Typically, it will automatically chamfer crossing point of adjacent segments. However, if arcs are created with sharp angle or by dash dot line or without tangential, they will not be chamfered.- Line: Exit "Arc" option and return to the PLINE command prompt. - Radius: Specify radius of arc. - Second pt: Specify the second point and endpoint for "3P" (create arc by 3 points).

## Close
Creates lines from the last point to the start point and forms a closed polyline. Users should select at least two points to create a polyline by this option.

## Halfwidth
Specifies the width from the segment center of the polyline to one of its edge.
The halfwidth of start point will be default halfwidth of the endpoint. The halfwidth of
the endpoint becomes the subsequent default halfwidth for all segments until changed. The start point and the endpoint of wide lines lie in its center.
Typically, it automatically chamfers crossing point of adjacent segments. However, if arcs are created with sharp angle or by dash dot line or without tangential, they will not be chamfered.
## Length
Creates a line in a specified length with the same angle of the last line. If the last line is an arc, the new created line will be tangent to it.
## Undo
Removes the recent line added to the polyline.
## Width
Specifies the width of the next line. The width of the start point is the default width of the endpoint. The width of the endpoint becomes the subsequent default width for all segments until changed. The start point and the endpoint of wide lines lie in its center. Typically, it automatically chamfers crossing point of adjacent segments. However, if arcs are created with sharp angle or by dash dot line or without tangential, they will not be chamfered.
## Angle
Specifies the angle of the next line.
Related References:
Related Tasks:
Article ID: 3723
Created: September 26, 2026
Last Updated: September 25, 2026
Author: kbadmin
Online URL: https://kb.gstarcad.com.my/article/pline-command-gstarcad-2027-3723.html