Jump to content
papsphilip

Trigger TOP network cook from HDA

Recommended Posts

i would like to have a button to trigger a cook from my HDA. How can i go about that? Do i need a python script?

Share this post


Link to post
Share on other sites

Three ways to do that:

1. You can add TOP cook controls to any node https://www.sidefx.com/docs/houdini/tops/cooking.html#addingcookcontrols

2. Promoting the cook button on your TOP Network to the top level of your HDA

3. Or if you want to cook a specific node inside of the TOP Network, a small Python snippet like this as callback for a button

n = hou.node('/path/to/topnode')
n.executeGraph(False,False,False,False)

 

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

×