This is the logic i’ve come up with for filtering a list by another list.
I’m fairly new at Dynamo and looking to see if there is a simpler solution?
Idea is to collect all family types from the Revit filter the list by selected objects.
I’m not sure if using list.cycle is a smart solution on large projects as the original list may be quite large.
For one, it’ll use up less nodes. A lot less nodes. Compare the below graph to any of the graphs in this thread and it should be obvious. You were asking for a simpler solution, right? Well, this is it.
Secondly it is not limited to strings. In your initial post you said, you were going to filter family types. List.ContainsItem works directly with Revit elements.