Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Freeze layer in all viewports without freezing in model space

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
dominicsp
11298 Views, 9 Replies

Freeze layer in all viewports without freezing in model space

Is there a way to freeze a layer in all viewports but not in Model space without having to go to each viewport & freeze it there? I have 15 layouts with ±6 or 7 viewports in each - it would be easier in some cases to freeze a layer in all viewports & only switch it on in the 1 or 2 I need it visible Using Acad 2015
9 REPLIES 9
Message 2 of 10
ampster401
in reply to: dominicsp

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.

Message 3 of 10
Jason.Piercey
in reply to: dominicsp

Have you tried the VPLAYER command?

Message 4 of 10
GrantsPirate
in reply to: dominicsp

VPLAYER, Freeze, <layer name>, All,...

 

You will have options for All, Select, all except current, 


GrantsPirate
Piping and Mech. Designer
EXPERT ELITE MEMBER
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.

Message 5 of 10
dominicsp
in reply to: ampster401

I could do that but with about 100 viewports & nearly 100 layers it becomes very time consuming I can't just freeze the layer the x-refs are brought in on as I will want to display some layers on the x-refs... At the moment it a very time consuming exercise....
Message 6 of 10
dominicsp
in reply to: GrantsPirate

I never thought of that. Does exactly what I wanted - thanks 🙂
Message 7 of 10
dominicsp
in reply to: GrantsPirate

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 😞

Message 8 of 10
Jason.Piercey
in reply to: dominicsp

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.

 

Message 9 of 10
RocksterB
in reply to: Jason.Piercey

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!

Message 10 of 10
diepkhoi90
in reply to: GrantsPirate

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost