Anpi
Aug. 5, 2019 10:59:11
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?
EricSheng
Aug. 6, 2019 21:22:30
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)