# INDEXCTL System Variable [GstarCAD 2027](Help%20System/GSTARCAD/2027/Index.md) → [System Variables](Help%20System/GSTARCAD/2027/System%20Variables/(System%20Variables).md) → [I](Help%20System/GSTARCAD/2027/System%20Variables/I/(I).md) ## Function Description: The INDEXCTL system variable is used to control whether to create layer and space index and save them to drawing files. | | | | --- | --- | | Type | Integer | | Saved in | Drawing | | Initial value | 0 | | Range | 0,1,2,3 | ## System Variable Value: **0:** do not create index **1:** create layer index **2:** create space index **3:** create layer index and space index --- [Original help](https://www.gstarcad.net/help/GstarCAD_2027_en-US/detail/systemVariables_Igsv/INDEXCTL.html) · © Gstarsoft Co., Ltd.