For-Each loop for SOP meshvariants

   2471   2   1
User Avatar
Member
15 posts
Joined: 11月 2018
オフライン
I have been trying to use the For Each loop to create primitives (vatriants) from each mesh in a imported SOP.
The problem I seem to be stuck with right now is using the @ITERATION variable which seems to be ignored in my setup.
There are 3 box-meshes in the SOPcreate and I would like to use the for loop to create 3 primitives for variants.
Using 18.0.348 since the @ITERATION throws an error in .416

Cheers,
JOerg


hip file [drive.google.com]
User Avatar
Member
9249 posts
Joined: 7月 2007
オフライン
here is an example of creating LOP variants from sop geometry in for loop
https://www.sidefx.com/forum/topic/71275/?page=1#post-302326 [www.sidefx.com]
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
15 posts
Joined: 11月 2018
オフライン
Thanks tamte.
I finally got my example to work as well, at least in .348. Still giving me warnings in .416.

  • Quick Links