Hi! I want to run foreach in SOP 5 times, adding some arguments from the arrays defined in VEX. Right now I am trying to
come up with crazy idea like creating 5 empty points, iterating on then, while feeding data I need from the other input point attributes;
Is there more "clean" way to do it, without creating intermediate points for the foreach_begin to loop over?
How to foreach in SOP, mixing with VEX properly?
1403 2 0-
- assignators
- Member
- 44 posts
- Joined: 4月 2017
- オフライン
-
- animatrix_
- Member
- 5090 posts
- Joined: 2月 2012
- オフライン
Hi,
You can store both arrays as detail attributes and then work on those inside the For Each SOP network. No need to create new points, unless you want to work on each element in parallel.
You can store both arrays as detail attributes and then work on those inside the For Each SOP network. No need to create new points, unless you want to work on each element in parallel.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
-
- assignators
- Member
- 44 posts
- Joined: 4月 2017
- オフライン
-
- Quick Links

