Associate multiple parameters to multiple elements (list@levels)

dynamo

#1

Good morning group,

I’m trying to set to multiple families, multiple parameters. The complexity of it is that not all the families have the same parameters so:

-Each family in the same group of level 2 in the FAMILIES node have the same parameters.
-Each list in level 2 of PARAMETERS NAME node are the different parameters within the families in the previous families
-Each value in PARAMETERS VALUES node in level 3 refers to the parameters within a group of families with the same parameteres.

So in the end I could split the lists in levels 2, 2, 3 and work with them separately. Thats why I used Levels List, but it seem I am not achieving the result I wanted.

Any Ideas of what I am doing wrong or how to fix it?

The solution of splitting it in three cases is not feasible as this values come from previous calculations and the amount of cases can vary.
I’ve also seen a solution around with the List.Combine node, but I think that was useful befor developing the List@Levels, isn’t it? Or that can still help?

Thanks,

-In light blue: group of families in first list that have the parameters in the first list of PARAMETERS NAME node
-In magenta: group of families in second list that have the parameters in the second list of PARAMETERS NAME node
-In dark blue: group of families in third list that have the parameters in the third list of PARAMETERS NAME node
-In red: parameters names of families of third list in FAMILIES nodes that have its values in the third list of PARAMETERS VALUES node
-In green: H parameter of families of third list of FAMILIES node and the values corresponding to each family in PARAMETERS VALUES node


#2

What is the error you’re seeing?

Also, it looks as if you’re trying to write multiple values to the same parameter, which is a no-go.