# XLOADCTL System Variable [GstarCAD 2015](../../Index.md) → [System Variables](../%28System%20Variables%29.md) → [X](%28X%29.md) | | | | --- | --- | | Type | Integer | | Saved-in | Registry | | Initial value | 1 | | Range | 0-2 | Turns xref demand-loading on and off, and controls whether it opens the referenced drawing or a copy. 0 Turns off demand-loading; the entire drawing is loaded. 1 Turns on demand-loading. Referenced drawings are kept open and locked. 2 Turns on demand-loading. Copies of referenced drawings are opened and locked; referenced drawings are not locked --- ## Other versions with matching text [GstarCAD 8 (2013–2014)](../../../2013/System%20Variables/X/XLOADCTL%20System%20Variable.md)