Jump to content

thaw all layers ...routine help


leonucadomi

Recommended Posts

hello dear:

 

i am trying to use this routine to unfreeze all layers,

I have tried several methods and they have not worked.

I attach the file that I use.

 

any comment is welcomed

 

thanks

test.lsp test.DWG

Link to comment
Share on other sites

1 hour ago, jonathann3891 said:

There is already a default command for that "LAYTHW"

 

I didn't know that - learn something every day!

  • Thanks 1
Link to comment
Share on other sites

 

the command "LAYTHW"    

applies to the red arrow only

but even side is still frozen

 

and it is what I want to defrost

 

 

image.png.d98c22a9dd1c33c379ae6bf555ca6835.png

Link to comment
Share on other sites

This is viewport freeze. so its not the layer that is frozen its the viewport not showing the layer.

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/vp-freeze-thaw-in-all-viewports-in-all-drawings/m-p/10556247/highlight/true#M418998

 

--Edit

if you only want to do specific layers change the "*" to layer names you want to freeze/thaw

 

"0,Defpoints,layer1"

Edited by mhupp
  • Thanks 1
Link to comment
Share on other sites

57 minutes ago, mhupp said:

This is viewport freeze.

 

I reckon that this is all I need for an internet search...... "autocad lisp thaw viewport layers"

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-file-to-thaw-all-layers-frozen-in-the-viewport/td-p/3797286

 

Ha, look at that 2nd result on the page.....

 

Though MHUPPS link also shows freezing them too

Edited by Steven P
  • Thanks 1
Link to comment
Share on other sites

You have to skip the current layer except for ON or OFF, I believe.  Off will prompt for permission to OFF the current layer.

 

You can do the same in the layer dialog.  select first layer, shift select last layer, click the snowflake or lightbulb, whatever for the last layer.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...