# INSUNITS System Variable
[GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).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
---
[Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/systemVariables/INSUNITS.html) · © Gstarsoft Co., Ltd.