Get all elements of type

Hey.
I have a script, where i select a duct fitting, then i want to find out what type it is, and get alle elements of that type. Why will this not work

Nichlas

You need to use the FamilyInstance.ByFamilyType node instead if you wish to get all the instances of your family: