[Search tip detail and code files using keywords, tip number, author name, etc ]
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Thaw Layers by Selection
Tip# 4122 By Kent Cooper On 18-May-2013
Rated By 0 users Downloaded : 311
Categories : Layer Tools
Software type : AutoCAD 2014
Rename File To : LayerThawOnSelect.lsp
You do not have to know the layer name in order to thaw a frozen layer by selection.

Kent Cooper is back with another nice routine. This LISP code allows you to thaw a frozen layer by selection, so you do not have to know the name or anything else about the layer. Start by loading the LISP file, then type in the function name LTOS. All frozen layers will be thawed, and those thawed layers are highlighted. Select one or more entities on the thawed layers, then press Enter to finish. The previous layer state will be restored, except for the layers you select — those will stay thawed. This routine also works to turn on layers that are turned off.


Average Rating:

User comments
Comment by Shehata,Tawfik
Posted on 2013-05-20 18:54:36
Nice idea and works good in normal cases, but it acts a bit unpredictably in viewports containing VP frozen layers especially when terminated or when there are no layers Frozen/Off in model space.
Comment by Anderson,Jim
Posted on 2013-05-21 03:16:19
Is this not already built into AutoCAD?
Comment by Cooper,Kent
Posted on 2013-05-22 10:56:55
It's not built into AutoCAD 2004 that I'm still stuck using (not by my choice). By the way, the description should more accurately say that it thaws AND turns on Layers that are EITHER frozen or turned off or both, by selection of any object(s) on such Layers.