Skip to main content
whamalamaboom
Inspiring
February 21, 2020
Answered

Is there a BUILT-IN way to delete all empty layers? (AI 2020)

  • February 21, 2020
  • 6 replies
  • 14955 views

Built-in meaning no scripts/plugins that I need to install. Is there an actual option or setting somewhere in cleanup that will automatically target empty layers? Kind of like the option to clean up unused panel items or empty text, etc. Thanks!

Correct answer Kurt Gold

Sometimes there are environments that do not allow using scripts or plugins. Therefore I think that this requirement is not necessarily beside the point.

 

Unfortunately, at the moment there is no straightforward built-in command to delete all empty layers. You could indeed cobble something together with an action, but probably this is not what you are looking for.

6 replies

Participant
March 21, 2022

Of course not, my friend. We are facing a dinosaur.

Participating Frequently
September 8, 2021

I have encountered this problem when using Live Paint on objects from multiple layers.  Since the command moves all the elements from different layers into a single "live paint layer", I can see which layers are empty immediately following command.  Before I start painting, I delete all the empty layers.

This has been my method to maintain some level of control on the hundreds of layers and many empty ones.  Do not have a solution though for later on in the process.... I am going to watch this thread in the hopes that there is a way.

For example, in AutoCAD or Rhino software there is the "Purge" command the deletes empty layers.  

Participant
December 21, 2020

My solution for this was selecting all layers and bring them all to front... all the empty layers will stay at the bottom .. so you can clearly see what should be deleted

Kurt Gold
Community Expert
Kurt GoldCommunity ExpertCorrect answer
Community Expert
February 21, 2020

Sometimes there are environments that do not allow using scripts or plugins. Therefore I think that this requirement is not necessarily beside the point.

 

Unfortunately, at the moment there is no straightforward built-in command to delete all empty layers. You could indeed cobble something together with an action, but probably this is not what you are looking for.

whamalamaboom
Inspiring
February 21, 2020

Thanks so much! It's a chore constantly checking if something just isn't a feature or if it's buried somewhere so it's it's nice to know what is and isn't there. 

CarlosCanto
Community Expert
Community Expert
February 22, 2020

is it less of a chore to delete empty layers manually than having to install a script?

rcraighead
Legend
February 21, 2020

So, Actions are ok, but Scripts are a no no??

Ton Frederiks
Community Expert
Community Expert
February 21, 2020
Ton Frederiks
Community Expert
Community Expert
February 21, 2020

Especially when it is written by the famous Carlos Canto!

CarlosCanto
Community Expert
Community Expert
February 22, 2020

specially!! hahaha