# PEDIT Command [GstarCAD 2015](../../Index.md) → [Commands](../%28Commands%29.md) → [P](%28P%29.md) Edit polylines and 3D polygon meshes. Command Access: > **Toolbar:** Modify > > **Menu:** Modify \> Object \> Polyline > > **Command entry:** PEDIT Command Prompts: > Select polyline or \[Multiple\]: *Select polyline or 3D mesh or enter m* > > The next prompt depend on the object you have selected, a 2D polyline, a 3D polyline, or 3D polyline mesh. > > If the selected object is a line or an arc, the following prompt is displayed: > > Object selected is not a polyline. > > Do you want it to turn into one? \<Y\>: *Enter y or n, or press* ENTER > > **Multiple :** Enable selection for more than one object. > > **2D Polyline :** Edit 2D poliline. > > Edit polyline: \[Edit vertices/Close/Decurve/Fit/Join/Linetypemode/Reverse/Spline/Taper/Width/Undo\]\<eXit\>: *Enter an option or press* ENTER > > If the polyline you select is a closed polyline, Open option replaces the Close option in the prompt. > > **3D Mesh :** Edit 3D mesh. > > Edit polyline: \[Edit vertices/Desmooth/Mclose/Nclose/Undo\]\<eXit\>: *Enter an option or press* ENTER ## Other versions with matching text [GstarCAD 8 (2013–2014)](../../../2013/Commands/P/PEDIT%20Command--47bed731a9f5.md)