Unreferenced Legends. How do you guys clean them up?

Hey gangs! Did anyone find a way to delete or rename the unreferenced legends?
I’m dealing with 100+ legends that users brought in and they did not clean them up.
In short, I don’t have time to search through on what got referenced or not.

Pyrevit has the function but it’s taking darn long because we have 300+ sheets.

Any good ideas? I searched through the Dynamo thread but nothing much useful yet.
I do have Bimlink but it seems like it doesn’t have the function either.

Let me know please! Thank you!

Hi @robertkang26,

You can delete unplaced legends like this :

1 Like

Is the below form lunchbox? which package is below? It’s not Archilab for sure. Cannot find it.
“Archilab_Elements.Delete”

I just used yours and it works for now. Yours meaning GeniusLoci.
Thank you!

Hi. This doesn’t work in my file. It is not deleting the legend which is not in the project.
instead can you highlight with some color in the legend section, so I can delete it manually?