View Full Version : Layer State not restoring Color within Xref file
judekw
2007-01-03, 04:40 PM
Sorry if this question is already answered. I could not find it by searching. If someone could direct me to an answer already posted, I would appreciate it.
I am in the process of creating layer states and drawing standards, and they have not yet been implemented for other users. I am doing this in my spare time (now THERE is a joke!) while I am working on other projects. I have inherited a project from another user and have imported the layer states and drawing standards that I have created. Everything seems to be working well except that the layer colors for an Xref is not changing to what I have set up for this drawing. In other words, the layer colors for this Xref are consistent in all other sheets, but on this particular sheet I need some colors changed. I have created a layer state for this sheet with the layer colors set as I want them, but the do not change when I restore layer states. I can change them manually through the Layer Manager, but I shouldn't have to do this.
I hope my explanation is not confusing.
Thanks,
Jude
Is the XREF's Referenced Name the same across the drawings?
Are the colors the only element not updating?
What is your Visretain setting?
judekw
2007-01-03, 05:38 PM
Yes, the Xref name is the same in all drawings. I work for a home builder and all drawings the contain a floor plan have the drawing "Base" Xref'd in.
Colors and sometimes Linetypes seem to be the only thing that give me a problem, when they are changed in a particular drawing from what they are in the original Xref'd drawing.
Visretain is set to 1.
sschwartz85916
2007-01-03, 05:42 PM
Yes, the Xref name is the same in all drawings. I work for a home builder and all drawings the contain a floor plan have the drawing "Base" Xref'd in.
Colors and sometimes Linetypes seem to be the only thing that give me a problem, when they are changed in a particular drawing from what they are in the original Xref'd drawing.
Visretain is set to 1.
When you make the layer state, aren't there additional settings? (I don't know if the visretain is effecting this or not). I know if you are using the Lman, there is an options box.
judekw
2007-01-03, 05:52 PM
I'm not sure what you mean. To create a layer state, I set up a drawing with the layers as I want them create a new layer state in the Layer Manager within that drawing and then export it to an .las file. I can then import that .las file into an existing drawing and restore that layer state. When I configure CAD standards and set a .dws for that drawing, it will prompt me to fix non-standard layers that may exist in that drawing.
I'm not sure what you mean by options either, but I don have the "Color" box checked to be restored in the Layer Manager.
sschwartz85916
2007-01-03, 07:45 PM
I'm not sure what you mean. To create a layer state, I set up a drawing with the layers as I want them create a new layer state in the Layer Manager within that drawing and then export it to an .las file. I can then import that .las file into an existing drawing and restore that layer state. When I configure CAD standards and set a .dws for that drawing, it will prompt me to fix non-standard layers that may exist in that drawing.
I'm not sure what you mean by options either, but I don have the "Color" box checked to be restored in the Layer Manager.
That is pretty much what I meant...
judekw
2007-01-03, 07:59 PM
Sorry, the above should read, "I DO have the Color box checked..."
sschwartz85916
2007-01-03, 09:20 PM
Sorry, the above should read, "I DO have the Color box checked..."
Oh... Maybe you can set the visretain to 0 then import the layer states then reset it back to 1. (other than that, I don't know why it would do that)
judekw
2007-01-03, 09:59 PM
Apparently my layer states are not working at all in this drawing. I switched Visretain to 0, reloaded my Xref which turned on many unwanted layers. I deleted the existing layer state, saved the drawing and imported the layer state again. I restored the layer state and nothing changed. I set Visretain back t 1 and tried to restore layer states again. Again nothing changed.
Apparently my layer states are not working at all in this drawing. I switched Visretain to 0, reloaded my Xref which turned on many unwanted layers. I deleted the existing layer state, saved the drawing and imported the layer state again. I restored the layer state and nothing changed. I set Visretain back t 1 and tried to restore layer states again. Again nothing changed.
Can you post a copy of the drawing, XREF and layer state for others to see?
judekw
2007-01-04, 12:25 AM
Yes, I will do that in the morning when I get back to work.
judekw
2007-01-04, 02:03 PM
I am attaching the above mentioned drawing as well as the .dws file which also contains the proper layer states.
--correction: .dws files are not valid file types for uploading to this site. So, 04.dwg is the problem drawing, and I have changed the file extension of the .dws to make it 04-2.dwg.
I am attaching the above mentioned drawing as well as the .dws file which also contains the proper layer states.
--correction: .dws files are not valid file types for uploading to this site. So, 04.dwg is the problem drawing, and I have changed the file extension of the .dws to make it 04-2.dwg.
In the future, you can place the invalid file types into a zip file for uploading. ;)
I'll try to look into this later today.
Mike.Perry
2007-01-07, 10:52 AM
Hi
You may wish to review the links found in the following couple of posts...
RE: Save layer state for xrefs?
RE: Layer State Manager
Have a good one, Mike
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.