Jump to content

Set arrays of attribute values


DeBrumaire

Recommended Posts

Hi everyone !

I'm struggling with a little problem.

What I have, is a point cloud with an attribute integer "clumpid" (visualized just below). What I want to do, is, for each of the @clumpid values (@clumpid values are from 0 to 5) create an array containing all the points that have the same @clumpid values.

For example, for the points that have the @clumpid value at 3, I want to have an array called for instance " i[]@array_3" containing all the points that have the @clumpid value at 3. If possible, I don't want to use the "foreach loop" SOPs.

image.png.6a13f6b88c5a2b4e5008e251f8310a73.png

I tried a few things but the closest solution I have is this one:

image.png.a11b6ceac94542b3ca769f8730d96eff.png

But unfortunately, all the arrays are empty..

 

Thank you in advance for your replies !! :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...