Issue With Element.SetParameterByName

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

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

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