How to delete all empty layers?

Is it 10 script?
If yes I think that’s a limitation of plugin, to restrict execution in some condition only… :thinking:

If you execute code from scripter, does it work in this case?

Grum999