# CONVERT Command [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [Commands](Help%20System/GSTARCAD/2027/Commands/(Commands).md) → [C](Help%20System/GSTARCAD/2027/Commands/C/(C).md) ## Function Description: This command is used to optimize 2D polylines and associated hatches in early versions. When a drawing is opened in a higher version, the hatch created in older version will not update automatically. If users changed the UCS after creating hatch, the information about rotated hatch might not be correctly updated. When using CONVERT command to update hatches, it is recommended that you use the Select option to check your result. In most cases, you do not need to update polylines by CONVERT command. By default, the PLINETYPE system variable will automatically update polyline when opening an older drawing. The polyline can be created by third-party in old format or contained in an older drawing that was inserted as a block and then exploded. ## Command Access: > **Icon:** / > **Menu:** / > **Ribbon:** / > **Toolbar:** / > **Command:** CONVERT > **Alias: /** ## Command Prompts: ``` Enter type of objects to convert [Hatch/Polyline/All] <All>: ``` ## **Hatch** Coverts all hatches in a drawing. ## **Polyline** Converts all polylines in a drawing. ## **All** Converts all hatches and polylines in a drawing. --- **Related References:** - [Commands about Using Drawings in Different Versions and Applications (GstarCAD 2026)](../../../2026/Commands/00%20Command%20Groups/Commands%20about%20Using%20Drawings%20in%20Different%20Versions%20and%20Applications.md) **Related Tasks:** - [To Convert a DWG File to a Different Release Format (GstarCAD 2026)](../../../2026/Commands/01%20Procedures/To%20Convert%20a%20DWG%20File%20to%20a%20Different%20Release%20Format.md) --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/commandReferences_C/CONVERT.html) · © Gstarsoft Co., Ltd.