Display full version of the post: Losing layer state when closing and opening drawin

psgbs1
10.03.2011, 17:23
Hi guys please help.
Using ACAD 2007LT and 2009 full versions we have an issue with layering.
We get an external drawing layerd up as required by freeze thaw using layfrz command. However when opening the same drawing (afetr saving and closing that is) the layer state returns to as it was before.
I have tried saving the layer state in the relevant command which works whislt still in the drawing i.e. turning all layers on then restoring to previously saved state however again when we save the drawing, close and open it up again the layer state defaults back to what it was before we made our changes and when I use restore layer state nothing works and generally I lose more information than I had in the first place.
 
I suspect that it is something to do with the options setting in the original external consultants drawing but I cant figure out what it is and am gettign rather frustrated.
Any help would be gratly appreciated.
Thanks

John Connor
10.03.2011, 18:09
Are you restoring your layer states in model space or paper space?

psgbs1
10.03.2011, 18:11
Model space

John Connor
10.03.2011, 18:23
Do you use the Layer State Manager or the -Layer command?

psgbs1
10.03.2011, 18:28
Its is layer state manager, the one that used to be a bonus tool but is now incorporated into the layer command.
Its not an issue with that anyway its the fact that the drawing resets itself when opening up after closing that I can get my head round.

John Connor
10.03.2011, 18:51
Is it just this one drawing you are having the Layer State problem with?

Is the system variable VISRETAIN set to "1"?John Connor2011-03-10 18:55:49

psgbs1
11.03.2011, 09:15
Youre a star *******
I have just tried VISRETAIN and it has worked, where did you get one from? and what does it mean?
Thanks for your help!!
My friday is going to go a hell of a lot better now.

John Connor
11.03.2011, 12:01

I'm no start...believe me.I happened to stumble across the answer while researching your problem at the AutoDesk Discussion Forums.  Seems as though there were a couple of threads there just like yours.I cannot take credit for the answer but I am glad to hear it solved your problem.From your AutoCAD Help files:VISRETAINControls the properties of xref-dependent layers.
Controls visibility,
color, linetype, lineweight, and plot styles.For more detailed information look up VISRETAIN in your Help files.
John Connor2011-03-11 12:06:41