Deleting duplicated items from a list

Hello,

I’m using Dynamo to get the list of views (categories → view → all elements of types).
I’m also using Ideate Explorer to see the accurate # of views in the Project.

According to Ideate Explorer, I have 185 views but according to Dynamo, I have 281.

I’m trying to figure out the mismatch between Dynamo vs Explorer.
Is there a way where I can check if there are duplicate items from a Dynamo list?

image

Also if anyone knows why I have this mismatch, please let me know

Thank you very much in advance!!

Offhand: View templates or another ‘view’ which isn’t really a ‘view’ in the add-in.

Got it - so the views that I’m seeing from Ideate Explore aren’t actually ‘views’ category? Sorry I’m pretty new to Dynamo :(. In that case how should I be able to grab those 185 ‘views’ from Dynamo? Which category should I use?

I also see Legends in your list, which may also not be in Explorer.

These are all View category, so you’ll need to find other nodes or methods to filter. Maybe try View.IsTemplate and Object.Type and search for a value to filter.