Sop Solver/For Each Issue

   4065   2   2
User Avatar
Member
14 posts
Joined: July 2012
Offline
Hey folks, I have a problem using the sop solver within a foreach sop.

Basically, I don't seem to be able correctly set attributes per iteration. The sop solver seems to pick only one iteration of the foreach and process on that.

I'll try to explain the attached scene. It's very simple:

-2 lines feed into a foreach sop which iterates through line by line.

-Within the foreachTest sop, a sphere is created and passed into the first input of a python sop, second input is the line. The createAtrributes python sop creates 2 attributes for the sphere based on the number of points and iteration number of the line.

-If the createAttributes node is set on display, the attributes give the correct values (fig2)

-But as soon as a sopsolver is added, even if it does nothing as this one does, the attributes all apply only to one iteration (fig3)

Hope this makes some sense to someone and you can help me out.
Thanks a lot
Mat

Attachments:
fig1.png (10.1 KB)
fig2.png (32.0 KB)
fig3.png (33.5 KB)
sopSolverIssues.hip (159.4 KB)

User Avatar
Member
54 posts
Joined: Dec. 2011
Offline
Did you ever find a solution? sop solver inside a for each doesn't behave properly for me either
User Avatar
Member
339 posts
Joined: Aug. 2007
Offline
I just can't imagine this working, putting a dopnet inside the ForEach. It crashes immediately when I touch the dopnet so I can't see what's inside it. No matter what you're trying to do with it, you'll want to refactor your network so the dopnet is not inside the ForEach.
Jesse Erickson
Fx Animator
WDAS
  • Quick Links