Create list of Wall Types (Don't show duplicates)

Let me start by saying I am VERY new to Dynamo and have been reading a ton to try and learn some things. I took another Dynamo Script and am trying to modify it a bit to suit my needs.
I am trying to have Dynamo scan my project and give me a list (Excel file) of all of the different wall types. It currently gives me a list of EVERY INSTANCE of ALL wall types placed in project. So if wall type 4A has 100 instances, 4B has 25 instances, 4C has 50 instances, etc and my excel file list them all and I just want each to be listed once. I have a feeling it needs “AllIndicesOf” somewhere, but I can’t get that to work…any help would be much appreciated.

I’ve posted my script for reference.

I just finished training people today and got a question about that specific thing.
Lucky you
you can do it like so:

2 Likes

I’m also new to dynamo and using revit 2023/2024. I cant seem to find the “All Elements of Type” node. Am I missing something or has this been discontinued since this post?

Try not to revive old posts if you don’t need to. This would have been a good follow-up to your initial post as it shows additional context. In newer versions the nodes are called Element Classes and All Elements of Class.