Python code in node tree

   1086   2   0
User Avatar
Member
36 posts
Joined: 5月 2016
Offline
Hi,

How can I run the python node inside the graph after I press the export fbx button linked
to the Subnetwork one step lower in the hierarchy?

Is there any way to do this automatically?
I see that only when I change display flag then this code is executed.
Edited by TheCrisis - 2022年8月19日 14:51:07

Attachments:
houdini_sj5gwY4Z6u.png (119.4 KB)
houdini_aRs9Iv0Fb8.png (52.2 KB)

User Avatar
Member
36 posts
Joined: 5月 2016
Offline
Someone?
User Avatar
Member
53 posts
Joined: 2月 2017
Offline
TheCrisis
Hi,

How can I run the python node inside the graph after I press the export fbx button linked
to the Subnetwork one step lower in the hierarchy?

Is there any way to do this automatically?
I see that only when I change display flag then this code is executed.

You can make a button (or link to another button) in the parameter window by adding some python script to the callback function field. the hou.Node class has a .cook() function which you would then want to call.

https://www.sidefx.com/docs/houdini/hom/hou/Node.html [www.sidefx.com]
Technical VFX artist @ Housemarque / Sony Interactive Entertainment
  • Quick Links