Create individual groups based on Primitive Number

   2666   3   1
User Avatar
Member
118 posts
Joined: 12月 2013
Offline
I am trying to create separate groups on each primitive after they have been created. Similar to how the Output Group Prefix works in the Copy and Transform node, by creating individual groups for each primitive copied. The primitives here are not copied, they are procedural.
I have tried setting up a For Each Loop with a group expression, that only grouped them together. I'm a bit stuck at the moment, thanks.

Glen

Attachments:
2020-01-01_11h40_35.png (98.6 KB)

User Avatar
Member
1720 posts
Joined: 3月 2009
Offline
Not sure if I'm missing something obvious, but the partitionSOP should do exactly what you need.
Try it out: put it down, make sure the “Entity” parameter is set to Primitive, and enter something as the rule like
group_`@primnum`

This should give you, in your example, 5 groups named group_0 to group_4.
Martin Winkler
money man at Alarmstart Germany
User Avatar
Member
118 posts
Joined: 12月 2013
Offline
protozoan
Not sure if I'm missing something obvious, but the partitionSOP should do exactly what you need.
Try it out: put it down, make sure the “Entity” parameter is set to Primitive, and enter something as the rule like
group_`@primnum`

This should give you, in your example, 5 groups named group_0 to group_4.

Thanks Protozoan,
That's exactly what I was trying to accomplish! I was over thinking this way too much and I appreciate the assistance.

Glen
User Avatar
Member
238 posts
Joined: 11月 2013
Offline
GlenD
… I was over thinking this way too much and I appreciate the assistance.

Glen

geee, how often I fall in that trap
http://www.sekowfx.com [www.sekowfx.com]
  • Quick Links