Apply 1 (element) value to a group of of value (contains 2 each)

Hi,
i am trying to apply area of terrasse in appartements to the appartements (Duplexe) so each appartement have 2 area (which i added together in another node)

Thank you in advance.

Hey,

I would have a read of the warning on the node…

Assuming that it says something like ‘was expecting value got list’…

For simplicity, I would make the lists match…

Flatten your list of area elements

Chop your list of area values, length 1
Cycle the sub-lists of area values, count 2, level 2
Flatten the list of area values

Then you should have 2 flat lists, each of 12 items and Dynamo will know what you want it to do when you feed them into the SetParameter node.

Hope that helps,

Mark

You need to show us the input for the parameter name and the error as well. That node will take lists assuming you have the correct structure.

Thank you so much, it works.