Fiesta
March 19, 2018, 2:26pm
1
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
Fiesta
March 19, 2018, 2:32pm
3
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.
Fiesta
March 22, 2018, 7:53am
6
@erfajo , thx for helping.
Now i left the input of document empty, but there is still something wrong.
Any other idea what could be wrong?
Fiesta
March 22, 2018, 8:55am
8
your right!
your node needs integer and i have double
Mh, well…but if i round the doubles…the values aren’t right
Fiesta
March 22, 2018, 9:26am
10
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°.
Fiesta
March 22, 2018, 9:37am
12
Fiesta
March 22, 2018, 9:43am
14
Im sorry, i delete the “select element node”. The upload is updated.
Fiesta
March 22, 2018, 10:02am
17
Mh, i got the same results. With the one type parameter it works.
Fiesta
March 22, 2018, 10:11am
19
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
Thx you for your help!