I found it useful to have a collection of points where each point has a radius corresponding to its index (first point r=0, second point r=1, ...).
Just to explain briefly for what I'm using that: This way, after instantiation by an Instance on Points node, I know which point was instantiated. This is useful when I'm e.g. instantiating something on the nearest point of a point cloud, but need the information which object from a collection actually was the nearest afterwards. Instead of the final object I'm using these "radius=index" points and replace them by the real objects only afterwards.
My problem is this: currently I have a Collection of 20 Points created manually using this node group 20 times on individual objects:
This is my collection of 20 points:
What I'm looking for is a way to create a variable number of N Point Instances (!) where each point has a different radius corresponding to its index by a/within a node group (replacing the red box). So far I couldn't find a way to do that. Is it possible (using Blender 3.2.0 alpha)?
Hope it's not totally unclear what I want, found it hard to explain...
Here is a simplified example: It creates points where the radius of each point is the index of the nearest object (by origin) in Collection RefObjects. It is using a Collection of Points where the radius of each point is the index in this Collection (Points)
What I'm looking for is a replacement for the Collection Info node (collection of points with radius=index) leading to the exact same result (without using a Collection Info node of course).