# INSUNITS System Variable [GstarCAD 2016](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [I](%28I%29.md) ## Function Description: The INSUNITS system variable is used to set the drawing unit for automatic scaling when inserting or attaching a block, image or external reference to a drawing. | | | | --- | --- | | Type | Integer | | Saved in | Drawing | | Initial value | 1 (Imperial) or 4(Metric) | | Range | 0 \~ 20 | The INSUNITS setting is ignored when inserting annotative blocks into drawing. ## System Variable Value: **0:** unspecified(no units) **1:** inches **2:** feet **3:** miles **4:** millimeters **5:** centimeters **6:** meters **7:** kilometers **8:** micro inches **9:** mils **10:** yards **11:** angstroms **12:** nanometers **13:** microns **14:** decimeters **15:** dekameters **16:** hectometers **17:** gigameters **18:** astronomical units **19:** light years **20:** parsecs --- ## Other versions with matching text [GstarCAD 2017](../../../2017/System%20Variables/I/INSUNITS%20System%20Variable.md) · [GstarCAD 2018](../../../2018/System%20Variables/I/INSUNITS%20System%20Variable.md) · [GstarCAD 2019](../../../2019/System%20Variables/I/INSUNITS%20System%20Variable.md) · [GstarCAD 2020](../../../2020/System%20Variables/I/INSUNITS%20System%20Variable.md) · [GstarCAD 2021](../../../2021/System%20Variables/I/INSUNITS%20System%20Variable.md) · [GstarCAD 2022](../../../2022/System%20Variables/I/INSUNITS%20System%20Variable.md)