Select elements from multiple family types


#1

Hello, I am trying to select all family instances of multiple family types, I managed to do that with clockwork “all elements of familytype+”, but after applying my routine in two files it didn’t work anymore.


#2

I remove the code inside the custom nodes to use on other machines without alot of preparation. I tryed with the original node, same result.


#3

I know that some of the family types in the list are not in the project, but even if I isolate one that is for sure in the project I can’t select it.


#4

I found out that there was a family with type names duplicated in my file. I deleted that family and my routine got back to work.
But this is a problem to my…I want to get all the types with that name.
My workflow now is: I get the type name from an excel database and with FamilyType.ByName I get the family type I want to select on the model.

How can I get all the types with that name?

image