# INSUNITS System Variable
[GstarCAD 2017](Help%20System/GSTARCAD/2017/Index.md) → [System Variables](Help%20System/GSTARCAD/2017/System%20Variables/(System%20Variables).md) → [I](Help%20System/GSTARCAD/2017/System%20Variables/I/(I).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 2016](../../../2016/System%20Variables/I/INSUNITS%20System%20Variable--d0a12315c0c1.md) · [GstarCAD 2018](../../../2018/System%20Variables/I/INSUNITS%20System%20Variable--d0a12315c0c1.md) · [GstarCAD 2019](Help%20System/GSTARCAD/2019/System%20Variables/I/INSUNITS%20System%20Variable--d0a12315c0c1.md) · [GstarCAD 2020](../../../2020/System%20Variables/I/INSUNITS%20System%20Variable--d0a12315c0c1.md) · [GstarCAD 2021](Help%20System/GSTARCAD/2021/System%20Variables/I/INSUNITS%20System%20Variable--d0a12315c0c1.md) · [GstarCAD 2022](Help%20System/GSTARCAD/2022/System%20Variables/I/INSUNITS%20System%20Variable--d0a12315c0c1.md)