# 3DPOLY Command
[GstarCAD 2011](../../Index.md) → [Commands](../%28Commands%29.md) → [3D](%283D%29.md)
## Function Description:
> Create a 3D polyline
**Menu:**
> Draw\>3D Polyline
**Command Entry:**
> 3DPOLY
**Command Prompt:**
> If you executed 3DPOLY Command before, when you execute this Command again ,the following prompt is displayed
>
> ENTER to use last point \[Follow\]\<Start of polyline\>:
> Specify a point or press ENTER or enter F
>
> or
>
> Start of polyline: Specify a point
>
> Next point: Specify the second point
>
> \[Undo/Next point\]: Specify the third point or enter U
>
> \[Close/Undo/Next point\]\<Next point\>:Specify the third point or enter an option or press ENTER to end Command.
>
> **Follow:** Continue drawing new polyline according to end direction of the last 3D polyline
>
> **Undo:** Delete the last line created. You can continue drawing from the previous point.
>
> **Close:** Draw a closing line from the endpoint back to the first point, and then end the Command.
## Other versions with matching text
[GstarCAD 2012](../../../2012/Commands/3D/3DPOLY%20Command.md)