2

enter image description hereSo I made a simple geometry node tree to create a tile with a hole. You can control the size of the hole (X and Y) from within modifier properties panel. Then I made a another geo tree that instances the collection of these tiles. Is there a way to use size of the hole (the X and Y values of the first Geo node tree) for example to instance cubes the exact size of the hole at the same spot of the other instances?

Thanks

enter image description here

I have an update, if I use a REalize instances node, I get the two attributes visible in my spreadsheet but I have no idea how to use these values in my node editor. There is no Attribute node to just type "xx" or "yy" like we have a value node,a string node, or a material node. Solution for this one maybe?

Vic Marco
  • 291
  • 2
  • 12

1 Answers1

1

Is there a way to transfer geo node attributes from instanced objects and use it?

Yes, this is possible.

You would only have to pass the Group Attributes of your first node group to the Group Input of your second group.

(You have already done the first step in your example).

Then use the same identifiers in the Group Input of the Geometry Nodes where you instantiate these objects.

Once you convert the instances with the node Realize Instances, you can access these values with Transfer Attributes and process them accordingly.

enter image description here

I have added a scale node here for better illustration, which of course you don't need.

quellenform
  • 35,177
  • 10
  • 50
  • 133