Dynamo SetParameterByName only first value

plz… :blush:
Why is the value wrong?

It is because of levels and lacing. Your inputs are on different levels. The duct is in a list, the parameter names are in a list, but the values aren’t. They are a list at a different level.

What this means is that you are going through the entire first list of elements (just the one duct), with all of the first list of parameter names, but with only the first parameter value ("EA").

You can either play with the list levels on the Element.SetParameterByName node or you can add another List.Create after the List.Join for the parameter values.

Level of list of Parameter is L3 but the other two just L2. Check list level and lacing, i think will be ok

1 Like

Thank You :heartbeat::heartbeat::heartbeat: I love you :smile: