Loop for geometries

   1048   2   0
User Avatar
Member
18 posts
Joined: 1月 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: 2月 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 - 2019年6月4日 17:46:40
User Avatar
Member
18 posts
Joined: 1月 2016
Offline
Thank you I will try for each connected piece or named piece.
  • Quick Links