# CONVERT Command [GstarCAD 2015](../../Index.md) → [Commands](../%28Commands%29.md) → [C](%28C%29.md) Optimize 2D polylines and associative hatches created in early versions. **Command Access:** > **Command entry:** CONVERT Command Prompts: > Enter type of objects to convert \[Hatch(H)/Polyline(P)/All(A)\] \<All\>: > > **Hatch:** Convert all hatches in the drawing > > **Polyline:** Convert all polylines in the drawing. > > **All:** Convert all polylines and hatches in the drawing. ## Other versions with matching text [GstarCAD 8 (2013–2014)](../../../2013/Commands/C/CONVERT%20Command--e9b05613807b.md)