Hi there,

I need some help with splitting all of these pyramids into 5 groups based on their height. I then want to assig different colour to each group. Imagine each of the groups/ colours will be laser cut from a different material.

There are many tutorials regarding colour swatches but all of them show how to assign gradient rather than 5 different colours.

There are 450 pyramids in total so let’s say I want 90 lowest pyramids to be one group (yellow), then the next 90 ones (a bit higher ones) - dark yellow, 90 mid-high ones - orange, next 90 ones - red and 90 highest ones to be brown.

I’ve managed to sort the height list and then separate the first 90 lowest parameters but I don’t know what to do next.

colours.3dm (179.4 KB) colours.gh (20.4 KB)