# Rebar material extraction

**URL:** <https://forum.dynamobim.com/t/rebar-material-extraction/65147>\
**Category:** Uncategorized\
**Created:** [June 15, 2021, 9:20am UTC](https://forum.dynamobim.com/t/rebar-material-extraction/65147 "2021-06-15T09:20:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![uaftab.cem19](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/uaftab.cem19/32/122000_2.png) [@uaftab.cem19](https://forum.dynamobim.com/u/uaftab.cem19)\
**Post date:** [June 15, 2021, 9:20am UTC](https://forum.dynamobim.com/t/rebar-material-extraction/65147/1 "2021-06-15T09:20:33Z")

</div>

hey, im trying to extract the material names from model rebar elements, I ve defined the rebar material in the model.  
but when i use these nodes, it gives me empty lists, why is that?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/b/7b60f6f82c08ff0a1e747d9a7ef2ca32dee1dba6.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/8/2879f78a9994b61ed62a24d18e1eca1437d5bc06.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/0/608ab116fd1b704734415311c28a47e2fc94b0c0.png)

---

<div class="post-metadata">

**Author:** ![ashwinash112](https://avatars.discourse-cdn.com/v4/letter/a/58956e/32.png) [@ashwinash112](https://forum.dynamobim.com/u/ashwinash112)\
**Post date:** [June 15, 2021, 11:44am UTC](https://forum.dynamobim.com/t/rebar-material-extraction/65147/2 "2021-06-15T11:44:51Z")

</div>

You can try to get the Rebar Type for each rebar and then use Element.GetParameterByName, Then you will get the Material.

---

<div class="post-metadata">

**Author:** ![Joelmick](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/joelmick/32/93148_2.png) [@Joelmick](https://forum.dynamobim.com/u/Joelmick)\
**Post date:** [June 15, 2021, 11:47am UTC](https://forum.dynamobim.com/t/rebar-material-extraction/65147/3 "2021-06-15T11:47:37Z")

</div>

Yes @ashwinash112 is right. To do this, use Element.ElementType and then use Element.GetParameterByName
