Sets or returns the visibility of layers in external references. The value of this property is stored in the VISRETAIN system variable. The initial value of this property is True.
Syntax
BooleanVariable = object.XRefLayerVisibility
object.XRefLayerVisibility = <Boolean>
Where:
BooleanVariable determines whether the Xref layer is visible (True) or not (False).
object is the DocumentPreferences object.
Examples ...