Filtering Pipes by size

I am trying to filter pipes by size and I managed to get the list of pipe sizes.

As you see in the below image, There are two 2" pipes which needs to be nested as a list in this list.

Your help is appreciated.

Thank you,

Hi :slight_smile:

Try Dictionnaries :wink:


That worked ! Thank you so much. :slight_smile:

I have one more question. Is it possible to change family type based on keys?

for example : 2" pipe need a different family.

I’m sorry, I don’t use Revit that much, I don’t know if you can change such parameter via Dynamo :confused:

1 Like

no problem. thank you for your time.

Really appreciated! :slight_smile: