# Element.GetParameterValueByName node produces empty list

**URL:** <https://forum.dynamobim.com/t/element-getparametervaluebyname-node-produces-empty-list/100377>\
**Category:** Revit\
**Created:** [April 23, 2024, 6:44pm UTC](https://forum.dynamobim.com/t/element-getparametervaluebyname-node-produces-empty-list/100377 "2024-04-23T18:44:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [April 23, 2024, 7:09pm UTC](https://forum.dynamobim.com/t/element-getparametervaluebyname-node-produces-empty-list/100377/2 "2024-04-23T19:09:48Z")

</div>

Certain parameters exist with duplicates from other contexts/inheritances. Getting the value from one of these parameters by name is inconsistent because there’s no way to specify which one you’re after. (This has nothing to do with the python version.)

In these cases, you need to use the API to get/set the specific builtin parameter that you’re after. That’s additionally a good idea since you’re already using python in the previous node. Just continue the functionality with the parameter.

This thread has an example for a similar situation.

> [@When I try to set the level for Duct fitting or pipe fitting using python, I'm getting a error saying the parameter is read only, can someone help me with this](https://forum.dynamobim.com/t/when-i-try-to-set-the-level-for-duct-fitting-or-pipe-fitting-using-python-im-getting-a-error-saying-the-parameter-is-read-only-can-someone-help-me-with-this/99651/2):
>
> The LookupParameter() method returns the first match it finds. In this case, DuctFitting elements actually have two “Level” parameters. The first one is the schedule level, which is read-only, and the second is the associated level that you’re looking for. To get the specific parameter that you’re after, you can use the BuiltInParameter method instead. element.get\_Parameter(BuiltInParameter.FAMILY\_LEVEL\_PARAM) If you use the standard Dynamo nodes this would get handled automatically.

---

_[View the full topic](https://forum.dynamobim.com/t/element-getparametervaluebyname-node-produces-empty-list/100377)._
