Repeat a group of SOP

   2367   2   0
User Avatar
Member
2 posts
Joined: Jan. 2008
Offline
Hi, i'm stuck on a problem since many hours and finaly I'm wondering if it's possible… It's a simple task but don't find any way to make it work:

I have a poly sphere, I creat a group of primitives (let's say 1/2 selected) and extrude them. Now I want repeat this process X time, selecting 1/2 primitives of the new object an extrude them again… I want make a digital asset with a user param definiting the number of time reproduce the operation.

When I use the copy sop, it's always using the base sphere for all extrusions. Is there a way to creat such loop or is it only possible with scripting?
User Avatar
Member
7743 posts
Joined: July 2005
Offline
Use the ForEach SOP. I've attached an example. Inside the /obj/sphere_object1/foreach1, play with the “CHANGE ME” parameter.

Attachments:
loopPolyExtrude.hip (64.6 KB)

User Avatar
Member
2 posts
Joined: Jan. 2008
Offline
Great Thx! I was desesperetly looking for that!
In my research I've found this “foreach” but didnt know/understood you can use it like that.

Thx again!
  • Quick Links