Dispatch a list to select every other row


I am new to grasshopper list and sorting, I have a simple question, I have a list of paver curves that I want to dispatch to select every other row not every other curve. I did some research about sorting it by y coordinates and using cSet, but still I didn’t get it to work.

I attached the GH file and a screenshot of how I need the dispatch to work. In the GH file there is a group called “Area of Focus” that are the paver curves I am trying to dispatch.

FYI, it may be a little heavy at first

Any help would be greatly appreciated.

Thank you

Paving Question.gh (18.3 KB)

Your Grasshopper definition is missing a few relevant inputs. Please make sure whatever is required is internalised. Right click a component and select ‘Internalise data’…

Hi @martinsiegrist

Sorry I did not check every internalized item, here the script with the internalized data.

It takes from 3 - 5 min to open

Paving Question.gh (18.9 KB)

lines.gh (24.7 KB)

1 Like

Arg, Beat me to it @ftzuk
I got sidetracked after I saw this in the script.

So i replaced it with this. Should be a little simpler.

Paving Question Ryan.gh (21.6 KB)

1 Like

Thank you so much for the help it works perfect!