I'm working on a set of drawings for a housetype that includes a number alternative elevational treatments on a single model-space ele.
In my viewports I have various layers set as "freeze in this viewport" to allow me to select the elevation I want. I now need to copy these viewports onto a separate viewport to c reate some planning drawings.
When I do this, most, not all, of the layers become un-frozen. Obviously this situation leaves me having to repeat work. I'm sure that there is a way round this - does anybody know it?
Thanks in advance, DJ
Didn't find your answer? Ask the community — no account required.
M
Michael Bulatovich
?
D
Daniel J. Ellis
Sorry, layout
J
Jeff Mishler
Yep, Here's a lisp to save the layer states (vp related) and then another to put them in another vp. Only works in the same drawing session....
Jeff
;;;*********code starts here************ ;| Functions to copy, and later place, the fozen layers from one paperspace viewport to another. Works with both standard and polygonal viewports. This was created for use in one drawing at a time! The layers obtained with the copyvplayers function are not saved for use in another drawing or even another editing session.
Command: copyvplayers - creates the variable "laylist", if you think that the routine isn't working, check the value of this variable at the command line like this: Command: !laylist If this returns nil then the list hasn't been saved.
Command: putvplayers - freezes the layers obtained with copyvplayers in the selected viewport. If you want the 2 viewports to match exactly, make sure to reset the layers in the target viewport first.
(c) Jeff Mishler, June 2003 - Updated Jan. 2004 to work with Acad2004. |;