I have the task to set project paramters for the current Document.
What i did so far:
Get the informations i need in 3 Lists
one list contains the elementID
one list contains the parameters i want to set
one list with the parameter values
wrote a script that writes the parameter values in the right paramters to the right element. If i execute the script i get an error which said: “TypeError: Multiple targets could match: Set(str), Set(ElementId)”
What it’s telling you is that one or more of your elements has a Parameter by the name your looking up that wants an ElementId as the value and not a string.
Check to make sure all of your elements have the Parameter with param type Text.
I worked on the script and after executing the script i got an error:
Warnung:IronPythonEvaluator.EvaluateIronPythonScript fehlgeschlagen.
Traceback (most recent call last):
File “”, line 38, in
AttributeError: ‘NoneType’ object has no attribute ‘Set’
It sets the Parameter for the first Element in the list and then i get this error