Element.SetParameterByName on personnal project properties

excel
dynamo

#1

Hello,

I have added two fileds in the space properties (with the project settings).
“CTA_pulsion” and “CTA_extraction”.

I try to use Element.SetParameterByName to update those field with Dynamo reading a Spreasheet.
Unfortunately, this doesn’t work.

This is a problem of ambigious call.

Avertissement:Element.SetParameterByName l’opération a échoué.
L’appel est ambigu entre les méthodes ou propriétés suivantes : ‘Revit.Elements.InternalUtilities.ElementUtils.SetParameterValue(Autodesk.Revit.DB.Parameter, Revit.Elements.Element)’ et ‘Revit.Elements.InternalUtilities.ElementUtils.SetParameterValue(Autodesk.Revit.DB.Parameter, string)’


#2

Can you show your graph?


#3

Has been solved by changing the type of field.
Text instead of length.