How to aggregate unique attributes from multiple inputs usin

   302   2   1
User Avatar
Member
2 posts
Joined: Sept. 2018
Offline
Hi everyone,

I'm looking for a way to copy attributes from multiple geometries into a single master geometry.

All input geometries have the exact same topology. As shown in the first image, I can achieve this by chaining multiple Attribute Copy nodes, but I'd like to find a cleaner way to do this.


I tried using a For-Each Loop (as shown in the second image) with the Gather Method set to "Feedback Each Iteration". While all the attribute names appear in the final geometry, only the values from the first and last inputs (geo_01 and geo_06) are being reflected.


Each geometry has a unique attribute name, such as mask_head, mask_hand, mask_foot, and so on.

How can I properly set up a For-Each loop to replicate the manual chaining process from my first image? Any advice on how to handle these multiple unique attributes within a loop would be greatly appreciated!

Attachments:
01.png (69.5 KB)
02.png (72.6 KB)

User Avatar
Member
85 posts
Joined: April 2013
Offline
Are the identical geometries with different masks all at identical positions, if so:

Maybe you can have a setup where each object has the same mask name, you could then combine the geometry together
into a master using a fuse node and use the "output attributes and groups" functionality to bring together
the attributes from each using whatever "output values" need calculating.




Image Not Found

Attachments:
Master.JPG (83.2 KB)
Master.hipnc (125.3 KB)

"Genius might be the ability to say a profound thing in a simple way." — Charles Bukowski
User Avatar
Member
2 posts
Joined: Sept. 2018
Offline
It worked! Thank you so much!
  • Quick Links