AutoCAD 2007/2008/2009 DWG Format
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Xref layer colors?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
218 Views, 10 Replies
04-17-2009 11:08 AM
I thought I had xrefs figured out here, this is regarding layer colors/properties in referenced dwgs.
I have a dwg 'A' that has a layer named Layer1 with color red, dwg 'B' has 'A' attached/overlaid as an xref. Open dwg 'A' and change Layer1 color to blue, save and close dwg 'A'. Go back to dwg 'B' reload dwg 'A' xref, and the Layer1 in 'A' is still red. Shouldn't it reflect the changed color of Layer1 and be blue? Confused!!
I have a dwg 'A' that has a layer named Layer1 with color red, dwg 'B' has 'A' attached/overlaid as an xref. Open dwg 'A' and change Layer1 color to blue, save and close dwg 'A'. Go back to dwg 'B' reload dwg 'A' xref, and the Layer1 in 'A' is still red. Shouldn't it reflect the changed color of Layer1 and be blue? Confused!!
Re: Xref layer colors?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-17-2009 11:25 AM in reply to:
cadMeUp
If Visretain is set to 1, it retains the layer visibility states (on, frozen, color, linetype, etc) when you save that drawing. (that drawing being dwg B). Meaning, you have already saved the settings once, it will retain those settings.
Re: Xref layer colors?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-17-2009 11:26 AM in reply to:
cadMeUp
You can control the xref layer colors in the host drawing (dwg "B"). In layer manager under your listed xref should be all the layers in that xref. This is where you can change the color. Layer properties in host dwg and xref dwg are independent of one another.
Re: Xref layer colors?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-17-2009 11:31 AM in reply to:
cadMeUp
It works correctly if I set 'VISRETAIN' to 0 in dwg 'B'. Seems like that should be the default behavior?
Re: Xref layer colors?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-17-2009 11:32 AM in reply to:
cadMeUp
If you want the xref to control the drawings, then I believe this is what you want.
(We use it a different way)
(We use it a different way)
Re: Xref layer colors?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-17-2009 11:35 AM in reply to:
cadMeUp
That's what I noticed. Yeah, that's what I've been having to do change the layer color in 'A' and then goto 'B' and make the same change. Double work seems like! Seems like they should be dependent. If you make a change to layer property in 'A' the change should be reflected on reload in dwg 'B'.
Re: Xref layer colors?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-17-2009 11:42 AM in reply to:
cadMeUp
You shouldn't have to change the color in the xref (dwg "A") at all. That's what I mean by being independent of one another. The color properties in the xref drawing can be whatever you what them to be without affecting your host drawing. Change the colors in dwg "B" only...that's it.
Re: Xref layer colors?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-17-2009 12:13 PM in reply to:
cadMeUp
I see what your saying, makes sense. The problem is, if you use 'A' as a reference in multiple dwg's, then you need to make that same change in each dwg that references 'A'. If you could make the change in 'A' one time then you wouldn't have to make the change multiple times, in every dwg that references dwg 'A'. Seems like that's the whole point to xref's.
Re: Xref layer colors?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-20-2009 12:06 AM in reply to:
cadMeUp
VISRETAIN
Controls the properties of xref-dependent layers. Controls visibility, color, linetype, lineweight, and plot styles.
0
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 those settings. The layer settings affected are On, Off, Freeze, Thaw, Color, Ltype, LWeight, and PStyle (available only in named-plot style drawings).
1
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.
Controls the properties of xref-dependent layers. Controls visibility, color, linetype, lineweight, and plot styles.
0
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 those settings. The layer settings affected are On, Off, Freeze, Thaw, Color, Ltype, LWeight, and PStyle (available only in named-plot style drawings).
1
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.
*Tim Decker
Re: Xref layer colors?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-20-2009 11:15 AM in reply to:
cadMeUp
If you want your XREFs to control your drawings, then yes
VISRETAIN of 0 would be alright to use. But, it is sometimes handy to have
to drawings which use the same reference, and have them show the reference in
different ways (ie. one shows the object as proposed work for stage one of a
project, and in stage two you want to show it as existing). Also with
VISREATIN set to 1, you can set specific overrides for individual viewports in
the same drawing (so that you could have an overall view that freezes small
details, which are left thawed in another blowup viewport).
VISRETAIN of 0 would be alright to use. But, it is sometimes handy to have
to drawings which use the same reference, and have them show the reference in
different ways (ie. one shows the object as proposed work for stage one of a
project, and in stage two you want to show it as existing). Also with
VISREATIN set to 1, you can set specific overrides for individual viewports in
the same drawing (so that you could have an overall view that freezes small
details, which are left thawed in another blowup viewport).
All of the layer properties can be set this way, not just
color or freeze/thaw. You can make some pretty complicated reference
setting for various stage/presentations of the same reference
file.
color or freeze/thaw. You can make some pretty complicated reference
setting for various stage/presentations of the same reference
file.


