deleting empty layers in a layer filter

deleting empty layers in a layer filter

allywhite666
Advocate Advocate
1,566 Views
3 Replies
Message 1 of 4

deleting empty layers in a layer filter

allywhite666
Advocate
Advocate

Hello,

 

I am trying to delete all the empty layers in a layer filter and ONLY in that layer filter, not the whole drawing. Is there a quick way to do this or is there a command that I can add to the layer filter that will filter out the empty layers and only show the layers that have something in them.

I thought that "All used layers would do this" and I could add its command "USED == "TRUE"" to my existing filter but this does not filter out the empty layers even in the original filter which is automatically created by AutoCAD.

 

Any help would be appreciated.

Thank you. Smiley Happy

0 Likes
Accepted solutions (1)
1,567 Views
3 Replies
Replies (3)
Message 2 of 4

Ajilal.Vijayan
Advisor
Advisor
Accepted solution

Create a new Property Layer filter under the Layer filter where you like to see the empty layers with the filter definition status 'Unused'.

Spoiler
Empty.png

And goto Layer settings and tick 'Indicate layers in use' to show the 'Unused Layers'.

Spoiler
Indicate.JPG

 

May need to refresh the Layer window to update the filter,

hope this helps.

0 Likes
Message 3 of 4

allywhite666
Advocate
Advocate

Thanks for the reply, this works well.

0 Likes
Message 4 of 4

Ajilal.Vijayan
Advisor
Advisor

You're welcome

Glad I could help.