XRefLayerVisibility Property

Determines the visibility of xref-dependent layers and specifies if nested xref path changes are saved.

See Also | Example

Signature

object.XRefLayerVisibility

object

DatabasePreferences
The object or objects this property applies to.

XRefLayerVisibility

Boolean; read-write

TRUE: Xref-dependent layer changes made in the current drawing take precedence.

FALSE: The layer table, as stored in the reference drawing (xref) takes precedence.

System variables

The value of this property is stored in the VISRETAIN system variable.

Remarks

The initial value of this property is TRUE.

When this property is set to TRUE, layer settings are saved with the current drawing's layer table and persist from session to session. Nested xref path changes are saved with the current drawing and persist from session to session.

When this property is set to FALSE, changes made to xref-dependent layers in the current drawing are valid in the current session only, but 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, and Linetype. This setting also specifies that changes made to the paths of nested xrefs are for the current session only and are not saved with the drawing.

 

   Comments?