Attached at the end of this tutorial is the macro you need.
Thanks for your immediate response. Can you tell me for blocks too?
@Rajeshkumar wrote:Can you tell me for blocks too?
Can you tell me for blocks too?
For blocks, it's here.
Solid Edge ST9 has a new command to delete empty layers.
Yes, I noticed that command in ST 9
Besides Blocks, users are also seeking purging dimension and face styles.