Selecting GN instances by name

Hi everyone, is there a way (or is it programmed) to be able to select instances by name?
It would be very useful.

At the moment i don’t think that’s possible yet.
However here’s a hacky way I would do it.

  • First I would create vertex groups for each of the objects in the collection with the correct name
  • I would then assign a value of 1 to the mesh of each vert group
  • Then in GN it’s just a matter of distributing the objects in the collection, realizing the instances (very important as that’s how the vert groups from the individual meshes will propagate) and then using the named attribute to access the geometry with the correct vert group

This is hacky and tends to slow down GN a bit since realize instance tends to slow a thigs up if the instances are many. However it should work in most cases.
Here’s an example what you were trying to do:


scale distributed instances.blend (137.6 KB)

Here monkey is a vert group assigned only to the monkey geometry

2 Likes