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

Thaw/unfreeze all layers in a directory of drawings

2 REPLIES 2
Reply
Message 1 of 3
sabarrett328
324 Views, 2 Replies

Thaw/unfreeze all layers in a directory of drawings

Hi all.

New to the forum here.  I was hoping maybe someone could help me.  I received a set of files from my vendor and for some reason I'm finding that random drawings in this directory of over 400 files have random layers that are frozen.  I've searched online for about an hour and come up empty handed.  Is there a utility or script in Autocad that would be able to parse that directory of files and turn on/thaw all the layers in each of the drawings?  I really don't want to manually go through all these files by hand looking for items that are missing.

2 REPLIES 2
Message 2 of 3
Patchy
in reply to: sabarrett328

Do you need to thaw all layers of a file that you don't open it?

Why not thaw all layers when you open a file, that would be easy to do with acaddoc.lsp

 

Message 3 of 3
pendean
in reply to: sabarrett328

There is nothing readymade to do that: you'll have to at least write a simple script using -LAYER command and run it as explained here (read the entire post) https://allaboutcad.com/tutorial-automate-tasks-with-a-script-file/

A script looks like this https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/thaw-all-layers/m-p/1598062#M207473

A LISP is also an option, like this https://forums.autodesk.com/t5/autocad-forum/script-to-unfreeze-unlock-and-set-all-layers-to-on/m-p/...

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

Post to forums  

Technology Administrators


Autodesk Design & Make Report