Solved! Go to Solution.
Solved by GrantsPirate. Go to Solution.
I haven't tried this, but can you just open up the Layer Properties Manager window and enable the viewport freeze option on every layer you need...or doesn't that work after the viewports have already been created?
edit, just looked in Acad 2014 and that option is labeled "new vp freeze" so this probably won't work.
VPLAYER, Freeze, <layer name>, All,...
You will have options for All, Select, all except current,
GrantsPirate
Piping and Mech. Designer
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.
How do I select an x-ref dependant layer?
I cannot make it current...
The layer name when typed in is not recognised...
I cannot select it - I can only select the whole x-ref, not the x-refs that make it up...
At a bit of a loss here 😞
Must be a typo in the layer name if it isn't working. Are you following the proper format?
XrefName|LayerName
You can also use wildcard patterns to freeze multiple layers at one time.
I just used it to control the visibility of my existing layers using *-E as the wildcard name. It froze all of the layers in every viewports. Thank for the tip!
Here:
(defun c:defon ()(command "VPLAYER" "Thaw" "*DefPoints*" "All" "")(princ)) ;Thaw *defpoints* layer to all viewports
(defun c:defoff ()(command "VPLAYER" "Freeze" "*DefPoints*" "All" "")(princ)) ;Freeze *defpoints* layer to all viewports