Locate an object within a list by picking it

This may be a very basic question. Is there a way to locate a specific object within a list? Let’s say there is a collection of curves. Is there a way you can pick one and get its location within the list?

There’s no native/simple method of picking (as in, with the mouse) an item in the viewport. A simple method of identifying list order is to sample a point on each geometry and use Point List to visualise the order of these:

I also like to cycle/zoom through geometry lists using a slider and this script:

220131_VisualiseCurveListOrder_00.gh (15.0 KB)

1 Like

Wow, this is very helpful, thank you!

1 Like