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.




Share this post

Link to post
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.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now