Bring Back Original Xref Colors (One Simple Command!)

I always change the colors of external references in my current drawing so they suit better my needs. What if I need to restore the original Layer Colors of the Xref? What should I do?

Bring back Original Xref Colors

The first thing that comes to mind is to detach the Xref, and reattach it again. This will do the trick, but what if we don’t want to go through this process again?

To restore the original Xref layer colors without detaching it we just type in VISRETAIN in command line and change the value to 0. Now we have to Reload the Xref with changed colors and then change VISRETAIN back to 1.

VISRETAIN system variable controls the properties of xref-dependent layers.


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.

This is link to the original post in Autodesk site.

If you like this post take a look at our other AutoCAD tips and don’t forget to subscribe so you won’t miss any new information.

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Leave a Reply