View Full Version : Remove unused layers but keep layer names - lscript??

03-24-2010, 12:30 PM
I'm working on a model that has a few hundred layers. At this point they are all labeled but I also have gaps of empty layers that that I really want to get rid of. But the key is I don't want to have to re-label all of the layers with the objects on them.

I use Kevin Phillips great lscripts (http://www.lwplugindb.com/Plugin.aspx?id=acdc7e2e) for some layer management currently but the script that he has that removes empty layers but removes all of the layer names I have put in already.

So does anyone know of a script that will remove empty layers but keep the layer names with their objects that you currently have?