View Full Version : Viewports Layer States
2009-01-28, 01:02 PM
Is there a way to use Layer Management tools to capture the current status of all PS Viewports - which ones have what layers frozen/thawed?
For example, I might want to have Layer "Hardware" frozen (not displaying) in Viewports 1, 3 and 5 but thawed (visible) in Viewports 2 and 4 for printing purposes when I send the drawings to one vendor.
For another vendor, I might want to have layer "Hardware" frozen in vports 1 and 5, but thawed in 2-4.
Thus, I would like to create a layer state, group filter, etc, something like this:
Any help appreciated,
2009-01-29, 09:33 AM
There's no automatic way of doing this. It'll have to be some custom code in Lisp of such.
2009-01-30, 04:23 AM
I think i understand what you want,
You can create templates with the saved layer state, make one template wih vedor-1 laystate and next one with vendor-2 laystat.
And insert the drawing to the template, all layers are with your settings on each viewport.
and the other way is, you can import the layut from other templates or drawings with layer settings by right click on the layout tab.
2009-01-30, 09:00 PM
Thank you - it does seem that code is the only solution. Autocad must store this information somewhere though because it knows how to dispaly all viewports correctly everytime the file is launched, so the info is there somewhere. Back to dotted pairs.
2009-01-31, 01:59 PM
If it's simply that you have a few layout-layer setups per vendor. Maybe sandeepk's suggestion is the easiest: create a duplicate layout tab, then manually change the VP's there. Save the DWG ... that layout should now "remember" its layer settings ... so you can use it to produce the specific drawing for that one vendor, use the other for another vendor. You could have several of these layouts with different layer settings, simply change to the layout you wish to publish ... and voila!
That lisp idea can effectively take more time, since the VP's layer settings are not so easy to get at. It's not exactly saved as: this VP is setup with that Layer State. Each and every Layer's VPFreeze (and for AC2008 and above its layer overrides as well) in a dictionary object linked to the VP. I've previously submitted a wish for a VP to be linked to a state instead (so you can change the state and all linked VP's change automatically) but nothings come of that wish yet :roll:.
Powered by vBulletin® Version 4.1.11 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.