Freeze/thaw multiple layers, help

Freeze/thaw multiple layers, help

Anonymous
Not applicable
673 Views
1 Reply
Message 1 of 2

Freeze/thaw multiple layers, help

Anonymous
Not applicable

Hi all,

I used to work for a company that would have some command buttons that were custom that they used to freeze and thaw layers based on New Construction work and demolition work. I know that someone wrote a Lisp routine that would do this kind of functioning. 

I now work for a new company that does not have this customization and would love to bring that to the table. I have no idea what i am getting into when trying to write Lisp routines and was wondering if i could get some help getting something written or trying to help me understand how to write it.

Basically I want to be able to create a button on a custom tool bar that will freeze/thaw the layers that pertain to new work and vice versa for demolition work. Right now I am just using freeze layers and thaw all layers. Not very efficient.

At the last company someone wrote a Lisp routine that would reference a notepad will all layers listed in it. is that something that could be done?

Thanks for all help in advance!

0 Likes
674 Views
1 Reply
Reply (1)
Message 2 of 2

dbroad
Mentor
Mentor

Use layerstate/s and skip the programming. Better yet, set up your template with separate layouts each with their own vp layer overrides and just switch layouts to switch modes.

Architect, Registered NC, VA, SC, & GA.