Freezing layers by default in different tabs

Freezing layers by default in different tabs

davidv37
Enthusiast Enthusiast
3,909 Views
6 Replies
Message 1 of 7

Freezing layers by default in different tabs

davidv37
Enthusiast
Enthusiast

I tend to have quite a few tabs open on a drawing with each tab having frozen layers according to the content required to be displayed.

When I create a new layer for a specific tab, the information will automatically appear in the other tabs until I go back and freeze the new layers in those tabs.

Is there a way that I can add layers to the live tab and have that information automatically frozen by default in the other tabs?

Thanks

0 Likes
Accepted solutions (1)
3,910 Views
6 Replies
Replies (6)
Message 2 of 7

maxim_k
Consultant
Consultant
Accepted solution
David,

If you mean viewports in the Layouts under "tabs" then you can use VPLAYER command with "Freeze Except current" option after you will create new layer. This will freeze the layer in all viewports except current.

Maxim

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
Message 3 of 7

davidv37
Enthusiast
Enthusiast

Brilliant, thanks Maxim, wish I had come across this command ages ago.

0 Likes
Message 4 of 7

Anonymous
Not applicable

Hi All,

Freezing new layers is nice. But how to set it as defaut because usually I am copy paste more new layers from another drawing. And to check and at first create all new layers is sometimes difficult.

 

Any ideas ?

 

PS: I am using AutoCAD 2019 (2016)

 

Br,

Marian

0 Likes
Message 5 of 7

maxim_k
Consultant
Consultant
Welcome to Autodesk Forums!

Hi Marian,

Do you want all new layers which come to drawing with pasted objects became frozen automatically?

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes
Message 6 of 7

Anonymous
Not applicable

Hi Maxim,

 

Exactly. This is what i need and want. Do you know how to do that ?

 

Br,

 

Marian

0 Likes
Message 7 of 7

maxim_k
Consultant
Consultant

It seems not possible if you use the core AutoCAD functionality. There is no such command or variable, which allows to accomplish your goal.

 

I think it is possible to create custom AutoLISP routine for this.

 

Or you can try to use a kind of workaround:
You can use AutoCAD's ability to auto-create dynamic unreconciled layer group after you add new layers to the drawing. After you paste objects with new layers into the drawing unreconciled layer group in Layers palette will populate with newly added layers, then you can right-click on "Unreconciled new layers" group and select Freeze:

 

2019-05-24_12-23-11.png


In order to force AutoCAD to start to create "Unreconciled new layers" group in the particular drawing you need to set system variables:
LAYEREVALCTL=1 (this is default value)
LAYEREVAL=2
LAYERNOTIFY=18 (force AutoCAD to check unreconciled layers on SAVE and OPEN)

 

After you will freeze newly added layers you can Reconcile them (see #2 on screenshot)

 


Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.


Maxim Kanaev
Architect
MARSS

MacACAD | Linkedin

Etiquette and Ground Rules of Autodesk Community
0 Likes