VISRETAIN system variable

Visibility retain

Specifies the visibility, color, linetype, lineweight, and, if PSTYLEPOLICY is set to OFF (0), plotstyles of xref-dependent layers. It also specifies whether nested xref path changes are saved.

If Off (0): Changes made to xref-dependent layers in the current drawing are valid in the current session only and are Not saved with the drawing. When the current drawing is reopened, the layer table is reloaded from the reference drawing and the current drawing reflects those settings. The layer settings affected are: On, Off, Freeze, Thaw, Color, Ltype, LWeight, and PStyle (if PSTYLEPOLICY is set to 0).

If On (1): Layer settings are saved with the current drawing's layer table and persist from session to session.



Saved in:



0 to 1

Default value:


Possible values:

0: Off, the layer table, as stored in the reference drawing (Xref) takes precedence

1: On, Xref-dependent layer changes made in the current drawing take precedence