Set parameter with multi level list of elements

Hi all,

I have been doing this all the time, but now it does not work…?

I am using a SetParameter with multidimensional elements, but it produces an error, and the only way to make it work is by flattening my elements’ list, which I do not want to do, because sometimes elements are actually grouped, and all elements of the group need to get the same value from the values’ list…

thanks

Try using the List@Level (like below in your case) and it should work:
image

yes ,and be sure your list length is equal…not sure seems you have 10 element and 9 value, and try with a flattern before input your elements could work as well i guess :wink:

Thank you guys, but the problem was the output of a FilterByBooleanMask, which returned these weird elements called “CollectionArrays”…

Flattening the list into an identical one (using Level@1) re-creates the list with “correct” elements: