How can I group multiple geometries into one index in a linear array?

Hi! Iʻm creating a linear array of a set of geometries, and I want to group each duplicated set of geometries into one index. How can I do this?

Thanks in advance!

d_arrayindex.3dm (63.8 KB)
d_arrayindex.gh (27.1 KB)

Isn’t that what you have already?

1 Like

You are right. I got confused in another denser file.

Thank you!