# PLINE Command [GstarCAD 2015](../../Index.md) → [Commands](../%28Commands%29.md) → [P](%28P%29.md) Create a 2D polyline. ## Command Access: > **Toolbar:** Draw > > **Menu:** Draw \> Polyline > > **Command entry:** PLINE ## Command Prompts: > Start of polyline: *Specify a point* > > \[Arc/Close/Distance/Follow/Halfwidth/Width/Undo\]\<Next point\>: *Specify next point or enter an option* > > **Next point :** Draw a line segment. The previous prompt is repeated. > > **Arc :** Add arc segments to the polyline. > > **Close :** Draw a line segment from the last point specified to the starting point, creating a closed polyline. When you use this option you must specify at lieast two points. > > **Distance :** Specify the lengh for the line segment in polyline. > > > Distance for segment: *Specify segment distance* > > > > Angle of segment: *Specify segment angle* > > **Follow :** 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 :** 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 :** Specify the width of the next segment. > > > Specify starting width \<current\>: *Enter a value or press* ENTER > > > > Specify ending width \<starting width\>: *Enter a value or press* ENTER > > **Undo :** Remove the most recent segment added to the polyline. ## Other versions with matching text [GstarCAD 8 (2013–2014)](../../../2013/Commands/P/PLINE%20Command.md)