Cull all odd/even indices

Probably a beginners question :sweat_smile: but how do I cull odd or even indices from a list?

To work with unsorted indexes, use Modulus
2020-04-27 21_47_37-Grasshopper - unnamed
Invert ā€œPā€ to have even ones.

If you have a sorted list, use Dispatch which already have a true,false pattern and will split any list in two sublists.

2 Likes

cull_pattern

2 Likes

You can use dispatch

3 Likes