Skip to content

VISRETAIN System Variable

Hakan Seven edited this page Nov 8, 2026 · 1 revision

VISRETAIN (System Variable)

Sets whether your changes to external reference layers survive a reload.

Type On/Off (0/1)
Saved in Drawing
Default 1 (On)
Since 0.7.0

Values

Value Meaning
0 Reloading a reference resets its layers to the values in the referenced file
1 Layer changes made in this drawing are kept when a reference reloads: on, frozen, locked, color, linetype, lineweight, plot style, plot and transparency

Notes

  • Applies to the layers that come from a reference, named reference|layer.
  • Reloading is done in XREF.

Related

XREF · XATTACH


System Variables · Command Reference

Clone this wiki locally