How to achieve the movement of lines in groups? thank you!

Hello Guys, in order to achieve the desired / expect result, what do I have to do in the present data structure

Thank you,

The partitioned list items when moved in Z based on a closest point distances, doesn’t obey the partition and each items move in their own

partition list facade.gh (40.0 KB)

Each branch with your lines need one coresponding branch ( same branch number) with one vector ( or same amount of vectors like your line lists ).

Plug a panel also in your movment or vector output to compare the data structure.

Ok , you create a remapping for each branch and your domain is 0 to 4.83 so you got a list of numbers and min and max is this domain but you want a remapping for all group and not a single one.

I used a average to get only one distance number for each group and than remapping for all groups within the domain.

Thank you @flokart