# Select Parts by Item number

**URL:** <https://forum.dynamobim.com/t/select-parts-by-item-number/13604>\
**Category:** Revit\
**Tags:** fabrication\
**Created:** [August 1, 2017, 12:35am UTC](https://forum.dynamobim.com/t/select-parts-by-item-number/13604 "2017-08-01T00:35:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephan.gumpert](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/stephan.gumpert/32/108834_2.png) [@stephan.gumpert](https://forum.dynamobim.com/u/stephan.gumpert)\
**Post date:** [August 1, 2017, 12:35am UTC](https://forum.dynamobim.com/t/select-parts-by-item-number/13604/1 "2017-08-01T00:35:09Z")

</div>

Hi,

I am very new to Dynamo so my question may sound silly.

I am trying to select Fabrication Parts based on their “Item Number”. (RED BOX)  
The item numbers are coming from a CSV file.

So the basic process is that I want to read the CSV.  
Select all Fabrications Parts  
Then Filter the parts selected based the Item Numbers that came from the CSV File. (BLUE BOX)

Results are always False.

Thanks.

 ![SelectPartsByItemNumber](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/e/8e7b713436c9769ddaa0a56b1fb7a6f480d2784c.jpg)

---

<div class="post-metadata">

**Author:** ![christian0102580](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian0102580/32/29730_2.png) [@christian0102580](https://forum.dynamobim.com/u/christian0102580)\
**Post date:** [August 1, 2017, 5:35am UTC](https://forum.dynamobim.com/t/select-parts-by-item-number/13604/2 "2017-08-01T05:35:23Z")

</div>

Hi.  
you can download **spring nodes** package and use _Springs.Dictionary.ByKeysValues_ node.  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/e/2e4ce900a3702c7ac5e9589811fced8b8e72bba9.png)

---

<div class="post-metadata">

**Author:** ![Einar\_Raknes](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/einar_raknes/32/8566_2.png) [@Einar\_Raknes](https://forum.dynamobim.com/u/Einar_Raknes)\
**Post date:** [August 1, 2017, 7:10am UTC](https://forum.dynamobim.com/t/select-parts-by-item-number/13604/3 "2017-08-01T07:10:12Z")

</div>

You are probably comparing strings and numbers. You can convert the types like this:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/c/dc47fc59d1193eb51bdf8e618894c70a75d41510.jpg)

---

<div class="post-metadata">

**Author:** ![stephan.gumpert](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/stephan.gumpert/32/108834_2.png) [@stephan.gumpert](https://forum.dynamobim.com/u/stephan.gumpert)\
**Post date:** [August 1, 2017, 8:06am UTC](https://forum.dynamobim.com/t/select-parts-by-item-number/13604/4 "2017-08-01T08:06:57Z")

</div>

Final Solution

 ![SelectPartsByItemNumber_FinalSolution](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/8/782067630f8164c44ca2128499888f9dbcb5c12a.jpg)
