# Element.GetParameterValueByName does not return parameter value

**URL:** <https://forum.dynamobim.com/t/element-getparametervaluebyname-does-not-return-parameter-value/55306>\
**Category:** Revit\
**Created:** [September 19, 2020, 10:19am UTC](https://forum.dynamobim.com/t/element-getparametervaluebyname-does-not-return-parameter-value/55306 "2020-09-19T10:19:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![theshysnail](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/theshysnail/32/146653_2.png) [@theshysnail](https://forum.dynamobim.com/u/theshysnail)\
**Post date:** [September 19, 2020, 10:19am UTC](https://forum.dynamobim.com/t/element-getparametervaluebyname-does-not-return-parameter-value/55306/1 "2020-09-19T10:19:48Z")

</div>

Hi all,

_Element.GetParameterValueByName_ does not return the value of “Volume” parameter (Instance) for some of the objects in Revit 2020 (Dynamo 2.3) project. However, it’s visible in _Element.Parameters_ node.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/c/2ccef66cd837d9079393c7e098249f21e0252604.png)

---

<div class="post-metadata">

**Author:** ![\_Vijay](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/_vijay/32/91307_2.png) [@\_Vijay](https://forum.dynamobim.com/u/_Vijay)\
**Post date:** [September 19, 2020, 10:21am UTC](https://forum.dynamobim.com/t/element-getparametervaluebyname-does-not-return-parameter-value/55306/2 "2020-09-19T10:21:38Z")

</div>

Did you run?

---

<div class="post-metadata">

**Author:** ![theshysnail](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/theshysnail/32/146653_2.png) [@theshysnail](https://forum.dynamobim.com/u/theshysnail)\
**Post date:** [September 19, 2020, 10:39am UTC](https://forum.dynamobim.com/t/element-getparametervaluebyname-does-not-return-parameter-value/55306/3 "2020-09-19T10:39:30Z")

</div>

Yes. I ran the graph. This issue is with some of the structural foundations.  
Is there a way I can quickly get the actual numerical Volume value out of element.parameters node?

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [September 19, 2020, 11:30am UTC](https://forum.dynamobim.com/t/element-getparametervaluebyname-does-not-return-parameter-value/55306/4 "2020-09-19T11:30:59Z")

</div>

> [@theshysnail](#):
>
> _Element.GetParameterValueByName_ does not return the value of “Volume” parameter (Instance) for some of the objects

That’s because you seem to have multiple parameters with the same name  
Try something like this …

 ![mulPrm_2020-09-19_04-58-49](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/6/d6b9cf6a37edb6b8e2f4f8f7927889ac9162f635.png)  
[mulPrm.dyn](https://forum.dynamobim.com/uploads/short-url/u6O5nq340qtpSPxvBcEf4f81FJr.dyn) (15.9 KB)

---

<div class="post-metadata">

**Author:** ![theshysnail](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/theshysnail/32/146653_2.png) [@theshysnail](https://forum.dynamobim.com/u/theshysnail)\
**Post date:** [September 19, 2020, 11:41am UTC](https://forum.dynamobim.com/t/element-getparametervaluebyname-does-not-return-parameter-value/55306/5 "2020-09-19T11:41:27Z")

</div>

Thanks again!
