Jump to content
Sign in to follow this  
Rosen.K

Iterate over an attribute

Recommended Posts

Is there a way to iterate over an attribute and copy specific geometry per matching value?

Currently I'm isolating the points with the same value and the meshes with the same value, then copying to points. I want to automate that part.


Say I'm copying over points and each point has 1 value per MaxHandle out of 6 possible. Then I have 6 meshes with said MaxHandle values in another node. I want to copy the meshes with the same MaxHandle to the point with the same value.

Share this post


Link to post
Share on other sites
Posted (edited)

you can use foreach loop for points attribute, inside isolate meshes with the same attribute and do what you need

Edited by tamagochy

Share this post


Link to post
Share on other sites

Did this setup and forgot to post it! If anyone finds it helpful, here it is:

Where "MaxHandle" is the attribute you want to match.  

It'll copy the matching meshes to points, based on the same attribute.

image.thumb.png.ee397092e50a4cababaf1b6f268b7d72.png

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×