Jump to content

Force Stash node to re-stash on upstream chages

Recommended Posts

Posted (edited)

I have a mesh and have a few separate Vellum sims that fire in a linear fashion. I've found I need to "stash" the output of the first vellum sim, otherwise the 2nd vellum sim runs forever. As result there is a bunch of manual updates I want to remove in the graph to have it cook and update properly.

Upstream I want to update a rigpose node and have all the stashes update and sims fire on the new data.

I am not having any luck getting both the stash nodes to updates.. I have tried python sops before and after the stash with hou.node("../stash1").parm("stashinput").pressButton()

and I have tried

n = hou.node("../stash1")
parm = n.parm("stash")
parm.set(geo) without much luck.

I am under the impression that the stash node might need a time update to trigger, but have not been able to make a timeshift force an update either.

Thanks for any help.

Edited by Spaz8

Share this post

Link to post
Share on other sites

Was able to solve the issue by replacing the stash nodes with  'cacheif'  nodes.

  • Like 1

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now