# Filtering Pipes by size

**URL:** <https://forum.dynamobim.com/t/filtering-pipes-by-size/26822>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [October 4, 2018, 8:32am UTC](https://forum.dynamobim.com/t/filtering-pipes-by-size/26822 "2018-10-04T08:32:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr\_Purushothaman\_Mun](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@Mr\_Purushothaman\_Mun](https://forum.dynamobim.com/u/Mr_Purushothaman_Mun)\
**Post date:** [October 4, 2018, 8:32am UTC](https://forum.dynamobim.com/t/filtering-pipes-by-size/26822/1 "2018-10-04T08:32:53Z")

</div>

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.

 ![10](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/e/6e4ac309290e5cbd8dd0881800542669f3c62dbf.png)

Your help is appreciated.

Thank you,

---

<div class="post-metadata">

**Author:** ![mellouze](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@mellouze](https://forum.dynamobim.com/u/mellouze)\
**Post date:** [October 4, 2018, 8:38am UTC](https://forum.dynamobim.com/t/filtering-pipes-by-size/26822/2 "2018-10-04T08:38:16Z")

</div>

Hi 🙂

Try Dictionnaries 😉

[http://primer.dynamobim.org/en/09\_Dictionaries/9-4\_Dictionary-Use-Cases.html](http://primer.dynamobim.org/en/09_Dictionaries/9-4_Dictionary-Use-Cases.html)

 ![Capture2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/3/835aa3c09d5d058dd60a8addeffb0b1e0d61cb71.png)

---

<div class="post-metadata">

**Author:** ![Mr\_Purushothaman\_Mun](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@Mr\_Purushothaman\_Mun](https://forum.dynamobim.com/u/Mr_Purushothaman_Mun)\
**Post date:** [October 4, 2018, 9:13am UTC](https://forum.dynamobim.com/t/filtering-pipes-by-size/26822/3 "2018-10-04T09:13:49Z")

</div>

![11](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/f/5f7b2608e32cb2aca3491393ebe7c8d1d9b6f48d.png)

That worked ! Thank you so much. 🙂

---

<div class="post-metadata">

**Author:** ![Mr\_Purushothaman\_Mun](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@Mr\_Purushothaman\_Mun](https://forum.dynamobim.com/u/Mr_Purushothaman_Mun)\
**Post date:** [October 4, 2018, 10:19am UTC](https://forum.dynamobim.com/t/filtering-pipes-by-size/26822/4 "2018-10-04T10:19:56Z")

</div>

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

for example : 2" pipe need a different family.

---

<div class="post-metadata">

**Author:** ![mellouze](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@mellouze](https://forum.dynamobim.com/u/mellouze)\
**Post date:** [October 4, 2018, 12:26pm UTC](https://forum.dynamobim.com/t/filtering-pipes-by-size/26822/5 "2018-10-04T12:26:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Mr\_Purushothaman\_Mun](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@Mr\_Purushothaman\_Mun](https://forum.dynamobim.com/u/Mr_Purushothaman_Mun)\
**Post date:** [October 4, 2018, 12:38pm UTC](https://forum.dynamobim.com/t/filtering-pipes-by-size/26822/6 "2018-10-04T12:38:18Z")

</div>

no problem. thank you for your time.

Really appreciated! 🙂
