Group by index numbers

I have 25 lines. ! want to group them by index numbers in groups of 5 (0-4, 4-8, 8-12,…) to loft them. I managed to do it with “tree item”, but this way is quite manual and i guess it’s possible to do it in an easier way. Any ideas?



Use Partition list

As @Baris mentioned you need to use PartitionList like this:

I can’t because i need some elements in 2 lists, i would like to have {A,B,C,D,E}, {E,F,G,H,I} etc

You didn’t post your code. :frowning:


domains_2020May06a.gh (16.3 KB)

1 Like

Check this as well…


Partition_re.gh (16.6 KB)

1 Like

Thanks a lot, it’s working :smiley:

Why you don’t use extrude than group the surfaces?

srfs.gh (11.0 KB)

1 Like