# INDEXCTL System Variable [GstarCAD 2015](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [I](%28I%29.md) | | | | --- | --- | | Type | Integer | | Saved-in | Drawing | | Initial value | 0 | | Range | 0-3 | Controls whether layer and spatial indexes are created and saved in drawing files. 0 No indexes are created 1 Layer index is created 2 Spatial index is created 3 Layer and spatial indexes are created --- ## Other versions with matching text [GstarCAD 8 (2013–2014)](../../../2013/System%20Variables/I/INDEXCTL%20System%20Variable.md)