Number of ojects as parameter

Hello,

I have a brep containing 87 objects. Theese objects is numbered with the series component from 1-87. If changing the amount of objects in the brep, i would like to parametrically change the numering from 1-n according to the amount of objects in the brep. Lets say I am increasing the amount of objects to 90, then I would like the serie to aoutimatically change value from 1-90. See attached screenshots and file.

Thanks for any help,

Madeleine



q_gh_08_numbering.gh (191.3 KB)

LIST LENGTH or TREE STATISTICS will give you that number

Perfect, thank you!