Ted Kruysman sent us a macro that he uses in a custom command to freeze layers in AutoCAD.
"I use a Freeze All command that I made up that freezes all of the layers in the drawing except the current layer in use. The macro is:
I also edited the icon of the freeze layer command to show two more layers from the one layer shown. I find this very useful; I don't know why AutoCAD doesn't have it in their library."
Notes from Cadalyst Tip Patrol: Macros are great. They save us time when we use certain keystrokes in commands over and over again. I have used many macros that help me to freeze or thaw different layer sets. Another good freeze layer macro would be to thaw all layers.