Cook TOPS from python or HScript, verbose

   2630   1   0
User Avatar
Member
8 posts
Joined: 5月 2019
オフライン
Is it possible to “cook” a TOPS network from a external Python or HScript, via “hython” or “hscript”. (Like we would use “hou.node().render()” to render or cache) And would it be possible to get some information/status from the instances running on the different threads?
User Avatar
Member
159 posts
Joined: 2月 2018
オフライン
So I find a way to cook a TOP node with python code in the Houdini menu file:

# you can check the nodegraphtopui.py file in the Houdini installation folder
import nodegraphtopui as topui

node = hou.node("YOUR TOP NODE PATH")

# do cook
topui.dirtyCookNode(node)
Edited by EricSheng - 2019年8月6日 22:59:21
  • Quick Links