# PLINE Command
[GstarCAD 2011](../../Index.md) → [Commands](../%28Commands%29.md) → [P](%28P%29.md)
## Function Description:
> Create a 2D polyline
**Menu:**
> Draw \>Polyline
**Command Entry:**
> PLINE
Command Prompt:
> Start of polyline:Specify a point 1
>
> \[Arc/Distance/Halfwidth/Width\]\<Next point\>: Specify next point 2 or enter an option
>
> \[Arc/Close/Distance/Follow/Halfwidth/Width/Undo\]\<Next point\>:
>
> **Next point**
>
> Draw a line segment. The previous prompt is repeated.
>
> **Arc(A)**
>
> Add arc segments to the polyline.
>
> **Close(C)**
>
> Draw an arc segment from the last point specified to the starting point, creating a closed polyline. At least two points must be specified to use this option.
>
> **Distance(D)**
>
> Specify the distance for segment in polyline.
>
> Distance for segment: Specify segment distance.
>
> Angle of segment: Specify segment angle.
>
> **Follow(F)**
>
> If the last object is a line segment, the new line segment will be drawn with the same angle as the last.
>
> If the last object is an arc, the new line segment will be drawn tangent with the arc
> .
>
> **Halfwidth(H)**
>
> Specify the width from the center of a wide polyline segment to one of its edges.
>
> Specify starting half-width \<current\>: Enter a value or press ENTER.
>
> Specify ending half-width \<starting width\>: Enter a value or press ENTER.
>
> **Width(W)**
>
> Specify the width of the next arc segment.
>
> Specify starting width \<current\>: Enter a value or press ENTER.
>
> Specify ending width \<starting width\>: Enter a value or press ENTER.
>
> **Undo(U)**
>
> Remove the most recent arc segment added to the polyline.
## Other versions with matching text
[GstarCAD 2012](../../../2012/Commands/P/PLINE%20Command.md)