Jump to content

HQ server getting job ID


Recommended Posts

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.




Link to comment
Share on other sites

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:


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.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...