ROPFetch hangs when run using hython command line

   1071   1   0
User Avatar
Member
2 posts
Joined: Nov. 2016
Offline
I have a hython script that cooks a TOP network (embedded in a ROP Network) using those lines :

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.
User Avatar
Staff
585 posts
Joined: May 2014
Offline
Can you attach an example .hip file demonstrating the issue you're seeing?
  • Quick Links