SOP Solver substeps

   848   4   0
User Avatar
Member
41 posts
Joined: June 2009
Offline
Is it possible to get the current solve substep number inside the sop solver networks ?
User Avatar
Member
8539 posts
Joined: July 2007
Offline
regarding the DOPnet level substeps you can use $SF variable on DOP node parameters or @SimFrame in DOP level wrangle nodes to get absolute substep number

however many solver nodes (POP, Flip, Pyro, Vellum, ...) can introduce additional substeps usually through internal Gas Sub Step which can be nested, so in those cases you may need to accumulate your own counter at particular spot within the tree
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
41 posts
Joined: June 2009
Offline
Thankyou for answer tamte.
I understand that in DOP context i can use $SF or @Frameinc|@SimFrame .
But i don't understand how to get these variables exactly in SOP Solver.
That's why I'm asking here )
User Avatar
Member
8539 posts
Joined: July 2007
Offline
to get those variable values you can usually use stamp() hscript function and it seems to work for ST , however for some reason SF is giving me 0
the same if I use stamp() function with new variable in ../solver1/d/s/Stamps section based on $SF

but direct reference seems to work
Edited by tamte - May 24, 2023 01:20:25

Attachments:
sop_solver_sf.hipnc (80.5 KB)

Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
41 posts
Joined: June 2009
Offline
Thank you very much for your answer and example. Very grateful for your help
  • Quick Links