Attractor By Range

Need a wee help.
I am trying to split a list of objects/items into 3 (or 4) groups using attractor points.
Can’t seem to find a way to control the range. So each range can be different.
For example from 0 to 10m - RED from 10 to 50 -YELLOW and so on.

Thank you

AttractorByRange.gh (10.9 KB) Screenshot 2021-01-27 at 21.54.44

You can do it using Consecutive Domain and Find Domain

AttractorByRange-b.gh (11.5 KB)

Thank you @akilli,
Yes, I have tried using find domain. I can’t figure out how to split my list of surfaces into 3 (or 4) groups.
Colours are just for visuals, I need actual geometry to be split into 3 branches.

Thank you
P.S sorry for my terrible handwriting :slight_smile:

Here is one way.
AttractorByRange-b_v2.gh (10.8 KB)

2 Likes

AttractorByRange-c.gh (13.4 KB)

1 Like

Thank you guys!
Both options are great.