net = hou.node("/obj/ropnet1/topnet1") to_cook = net.displayNode() to_cook.executeGraph(False, True, False)
It cooks well for the most part until it reaches a ROPFetch ("/obj/ropnet1/topnet1/ropfetch") to an OpenGL node ("/obj/ropnet/opengl"). There it hangs forever (unless given a user input, keypress). There are other ROPFetches before which cook ok, this is the first one to fetch an OpenGL though.
In Houdini (18.5.351) cooking that TOP network ("/obj/ropnet1/topnet1/bottomnode") works fine and produces the desired output.
The command line used is :
"C:\Program Files\Side Effects Software\Houdini 18.5.351\bin\hython.exe" -u "P:\path\to\my\script.py"
Do you have any idea on how to get around the need for a user input ?
Thanks a lot.