jroy Posted March 6, 2018 Share Posted March 6, 2018 Hi guys, A quick question. Have scanned everything on google i could lay my hands on still couldn't figure out a way to get JOBID of a job submitted via hq_render node. On clicking the Submit job button, it pops up a dialog box showing the job id. but how could we get that ID using python scripting, in short, where is that ID saved. I though an environment variable called JOBID might be created but I could find it anywhere. Any help would be greatly appreciated. Thanks Quote Link to comment Share on other sites More sharing options...
symek Posted March 6, 2018 Share Posted March 6, 2018 I don't think jobid is saved anywhere in a scene / node itself. I guess you need to query hqueue server for a jobs recently submitted with API: http://www.sidefx.com/docs/hqueue16.5/help/api.html Alternatively you could add some logic to $HFS/python2.7lib/hqrop.py (or $HFS/houdini/soho/pythonx.x/HQRender.py maybe?) o retrieve jobid just sent. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.