# CONVERT Command
[GstarCAD 2012](../../Index.md) → [Commands](../%28Commands%29.md) → [C](%28C%29.md)
## Function Description:
> Optimize 2D polylines and associative hatches created in early version
**Command Entry**:
> CONVERT
**Command Prompt:**
> 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 2011](../../../2011/Commands/C/CONVERT%20Command.md)