Loop for geometries

   1091   2   0
User Avatar
Member
18 posts
Joined: Jan. 2016
Offline
Hello,

I made a tool that works on box geometry, now I am trying to make a tool that works on multiple boxes (merged) in one input instead of multiple inputs. I thought “for each loop” would work, but it doesn't have an option for geometry(or mesh). ;( is there a way to loop the tool on geometries instead of primitive and points?

Attachments:
Capture.PNG (379.2 KB)

User Avatar
Member
900 posts
Joined: Feb. 2016
Offline
Hello, you can set an integer or string attribute and tell the for loop to iterate over the primitives with the same value for that attribute.

Most common practice is to iterate over connected pieces.
Have a look at the “for each connected piece” for loop setup or “for each named piece”.

Cheers
Edited by Andr - June 4, 2019 17:46:40
User Avatar
Member
18 posts
Joined: Jan. 2016
Offline
Thank you I will try for each connected piece or named piece.
  • Quick Links