# Issue With Element.SetParameterByName

**URL:** <https://forum.dynamobim.com/t/issue-with-element-setparameterbyname/6588>\
**Category:** Revit\
**Created:** [October 6, 2016, 4:25pm UTC](https://forum.dynamobim.com/t/issue-with-element-setparameterbyname/6588 "2016-10-06T16:25:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![timmyt21](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@timmyt21](https://forum.dynamobim.com/u/timmyt21)\
**Post date:** [October 6, 2016, 4:25pm UTC](https://forum.dynamobim.com/t/issue-with-element-setparameterbyname/6588/1 "2016-10-06T16:25:05Z")

</div>

I’m trying to pull information from parameters in Revit to Excel and back. Sometimes I get it to work, but 90% of the time I keep getting an error at this node. “The parameter’s storage type is not a number”. The parameters from Revit are text. So, I formatted all the cells in Excel to text as well. But, I keep getting this error and I can’t kick information from Excel to Revit. I can’t upload the dynamo file, due to being a new user. Any ideas why I would be getting this error? Its starting to drive me a little nuts. Thanks

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/a/a990b8629d3f84d3195bffc4c74c04d2cadc9713.PNG)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [October 6, 2016, 4:28pm UTC](https://forum.dynamobim.com/t/issue-with-element-setparameterbyname/6588/2 "2016-10-06T16:28:17Z")

</div>

Hi Tim,  
Use StringFromObject node after GetItemAtIndex and connect to your values at Element.SetParameter node.

---

<div class="post-metadata">

**Author:** ![timmyt21](https://avatars.discourse-cdn.com/v4/letter/t/5f8ce5/32.png) [@timmyt21](https://forum.dynamobim.com/u/timmyt21)\
**Post date:** [October 7, 2016, 12:12pm UTC](https://forum.dynamobim.com/t/issue-with-element-setparameterbyname/6588/3 "2016-10-07T12:12:50Z")

</div>

Thanks. That seems to make it more stable. Curious why is would still work without this node… sometimes.

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [October 7, 2016, 12:55pm UTC](https://forum.dynamobim.com/t/issue-with-element-setparameterbyname/6588/4 "2016-10-07T12:55:04Z")

</div>

> [@timmyt21](#):
>
> Curious why is would still work without this node… sometimes.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/8/88d15a668e27cefbfa488db85a9d754bc620d2fc.png)
