# PLINE Command [GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [Commands](Help%20System/GSTARCAD/2022/Commands/(Commands).md) → [P](Help%20System/GSTARCAD/2022/Commands/P/(P).md) ## 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:** > ![](GCADICO_PLINE.png) > **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\]: ## **Specify start point** Sets the starting point for the polyline. ## **Next point** Draws a line, specifies a second point. ## **Arc** Adds arcs to the polyline. ## **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.