leonucadomi Posted January 23, 2023 Posted January 23, 2023 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 Quote
Steven P Posted January 23, 2023 Posted January 23, 2023 this? https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/thaw-all-layers/td-p/1598059 (command "_layer" "t" "*" "") 1 Quote
jonathann3891 Posted January 23, 2023 Posted January 23, 2023 There is already a default command for that "LAYTHW" 1 1 Quote
Steven P Posted January 23, 2023 Posted January 23, 2023 1 hour ago, jonathann3891 said: There is already a default command for that "LAYTHW" I didn't know that - learn something every day! 1 Quote
leonucadomi Posted January 23, 2023 Author Posted January 23, 2023 the command "LAYTHW" applies to the red arrow only but even side is still frozen and it is what I want to defrost Quote
mhupp Posted January 23, 2023 Posted January 23, 2023 (edited) 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 January 23, 2023 by mhupp 1 Quote
Steven P Posted January 23, 2023 Posted January 23, 2023 (edited) 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 January 23, 2023 by Steven P 1 Quote
Dana W Posted January 25, 2023 Posted January 25, 2023 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. Quote
tombu Posted January 25, 2023 Posted January 25, 2023 You can also select all layers in the Layer Properties Manager then right-click and select "VP Thaw All Layers in All Viewports". Quote
Recommended Posts
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.