Set value of family type parameters by name

Hi,
i have created a list of type parameters in a revit family.
Like in this topic: Adding Multiple Parameters in the Family Editor

Now i try to set a list of values to the parameters.
Here is the list in the family:


and here is what i have:

But i get null with the “Family.SetParameterByName”-node from DanEDU
and i don’t know what i need to set for the element input for “Set Type Parameter”-node…
Any help would be great:)

EDIT: Im working in the family editor.

Why aren’t you using the regular Element.SetParameterByName node?

1 Like

well i don’t know what i need to select for the Element input, because my parameters are only in the Family.

EDIT: Im working in the family editor.

1 Like

Right, then, indeed, it does not work. You’re right.
Considering it’s a type, maybe try to use FamilyType.ByName node here to get the right type…
But frankly I do not really know.

@erfajo, thx for helping.
Now i left the input of document empty, but there is still something wrong.
image


Any other idea what could be wrong?

your right!
your node needs integer and i have double

Mh, well…but if i round the doubles…the values aren’t right

oh…i forgot this
but i have still an null value:


I have my length in m and my angles in degree. The angles are realy small. Like 3°.

sure
18_03_22_Forum.dyn (19.1 KB)

18_03_22_Forum.dyn (18.3 KB)

Im sorry, i delete the “select element node”. The upload is updated.

Mh, i got the same results. With the one type parameter it works.

Yes it is ok for me to work with a dummy parameter.
But the length units are not correct…i changed the python script to
image

Thx you for your help!

Ah! Thx again!