Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Question about XRef'd drawings and color changes

7 REPLIES 7
Reply
Message 1 of 8
alison.gangler
2430 Views, 7 Replies

Question about XRef'd drawings and color changes

Customer question that I received:

 

I have drawing “A” and it is xref’d into drawing “B”. If I change the color of a layer in drawing “A”, the color of the layer will not update on drawing “B”. I have VISRETAIN set to 1 so the color should automatically change. The only way I can fix this is to detach the xref and attach it again. If I have a drawing with multiple tabs and the xref is on each tab (title block in paper space for example), I have to delete the xref from each tab, detach and reattach. What could be causing this?

 

Alison Gangler, Autodesk Product Support


1848iFB1446A5DC1D1EE0
Alison Gangler
Autodesk Product Support
Autodesk, Inc.

 

 



Alison Gangler
Install Engineer/PDG-AEC Product Group
Autodesk, Inc.

7 REPLIES 7
Message 2 of 8
lsimms1
in reply to: alison.gangler

I thought visretain had to be 0 to update the layer color.

If not, any chance the layer is locked?

Since visretain holds not just colors but also layers set in current drawing, I probably wouldn't change that setting.  Chances are I would just change the color in the current drawing.  That would take less time than detaching and reloading the xref and setting the layers up again.  (unless all are on and thawed of course)

Message 3 of 8
jmayo-EE
in reply to: alison.gangler

I also think you want visretain at zero but I think you have to reopen the active dwg to see the changes.

John Mayo

EESignature

Message 4 of 8
mathewkol
in reply to: alison.gangler

This may work...

 

  1. Open drawing B
  2. Save a layer state BUT turn off the Color toggle (it won't restore the color state)
  3. Set VISRETAIN to 0
  4. Reload the XREF
  5. Restore the layer state, the layers will freeze/thaw as required, but the colors won't change back to pre-VISRETAIN.

Good luck.

Matt Kolberg
SolidCAD Professional Services
http://www.solidcad.ca /
Message 5 of 8
gslyons
in reply to: alison.gangler

  1. Set Visretain = 0
  2. reload 'Drawing A' Xref
  3. Set Visretain = 1

~g

Message 6 of 8
mathewkol
in reply to: alison.gangler

That would work fine unless the user needs to keep layers frozen/thawed differently in DWG A vs DWG B.

Matt Kolberg
SolidCAD Professional Services
http://www.solidcad.ca /
Message 7 of 8
lmoran
in reply to: alison.gangler

I have the same problem quite often.  My trick is to rename the layer in drawing "A", then drawing "B" thinks it is a new layer, and updates the color.  So, I change "text" to "textA". for example.  If I change the color again, I change the layer name back to orginal.

Message 8 of 8

I'm going to assume this wasn't the case back in 2010 but... In the 2012 version I'm working in, when you attach an xref it creates layers in your drawing with the suffix being the name of the xref drawing.  If this is obvious to everyone now, then sorry for this post. But I was looking through this thread and then found that out.

 

I used to hate how many extra layers showed up but it makes changing the colors or freezing layers easier without affecting the original drawing.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report