Hi all,
I’m trying to push parameters to Spaces via Element.SetParameterByName
At first I tried with dummy list and it worked.
After i pulled a list from excel and tried to push it to the same node i got an error:
Warning: Element.SetParameterByName operation failed.
The call is ambiguous between the following methods or properties: ‘Revit.Elements.InternalUtilities.ElementUtils.SetParameterValue(Autodesk.Revit.DB.Parameter, Revit.Elements.Element)’ and ‘Revit.Elements.InternalUtilities.ElementUtils.SetParameterValue(Autodesk.Revit.DB.Parameter, string)’
My first and second scripts:
Does it mean that Element.SetParameterByName doesnt take doubles as inputs for ‘value’? Or am I doing something wrong?
And how would I push parameters that arent round numbers to Elements in the future?
Thanks to everyone in advance. My first post, hope I’m not missing something too obvious