FREEZE ALL LAYER IN XREF (EXCEPT CURRENT)

Hi,

How to freeze layer from xrefs in all viewport? A lot of the times, we have to create a new layer and will show on every viewport/paper space once updated, but the layer only need to show in one drawing/viewport. Is there a faster way then go into every other viewports to freeze the specific layer in the XREF?

Comments

  • I think you would have to use the VPlayer command in all the other layouts, but dont lose hope using a lisp can walk through all layouts and do the vplayer then return back to the current layout.

    Probably just go to model space in the layout and pick objects on the layer is simplest. Typing layer names can result in typo's.

    Will see what I can do.

  • Alan's idea would do exactly what you want if you know enough lisp to code it. If not, maybe someone here or on The Swamp would do it for you.

    As Alan said, typing layer names can be a problem -- not just because of typos, but also if there's a blank space in the layer name. When you get to that blank space, it will be interpreted as Enter and will end the layer name input. To get around that, you could use a pop-up dialog with a list of layers to choose from. I've never done that, but I think it's not too hard. Or you could edit the command for each new layer you want vpfrozen in all viewports, just changing the layer name in the lisp code.