Excel to Revit | Element.SetParameterByName Warning

Good day,

Please assist. I’ve been struggling with this Dynamo project for a while, but this warning I can’t seem to bust:
“Warning: Element.SetParameterByName operation failed. The parameter’s storage type is not a string.”

I changed the Excel spreadsheet to Text in an attempt to fix, but to no avail. When trying to GetItemAtIndex 0, its producing null results in my SetParameterByName node?

Please refer to image attached and advise me on how to solve.

Kind regards,

You can convert string to number, and number to string according to what your parameter wants.

Use Parameter.StorageType node to know what is the storage type of your parameter (string, integer, double…)

1 Like