I have a drawing that does not save the xref layer setting. I can change colors and thaw different layers but after saving and closing the drawing it reverts back to the original when opened again. I am sure this is a setting but can not find which setting.
The VISRETAIN system variable controls the properties of xref-dependent layers.
Controls visibility, color, linetype, lineweight, and plot styles.
The layer table, as stored in the reference drawing (xref), takes precedence. 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 all of those layer property settings.
Xref-dependent layer changes made in the current drawing take precedence. Layer settings are saved with the current drawing's layer table and persist from session to session.