AWS Thinkbox Discussion Forums

task progress in Nuke

Hi all,

I’d like to get the ‘task progress’ to show in a Nuke panel. I dont have much time so before I plow in to the api I thought I’d ask if this was fairly straight forward.

Thanks

Steve

So, a list of the tasks and how far along each one is, or how far along the whole job happens to be?

I tend to use Deadline Command to get that kind of information, but if you’re not keen on shelling out to something and reading its output, you may want to start up the web service and use the standalone Python API:

docs.thinkboxsoftware.com/produc … rvice.html
docs.thinkboxsoftware.com/produc … ython.html

For the API calls:

docs.thinkboxsoftware.com/produc … 786a78f67a (get job tasks)

Now, I’m actually not sure what the Task object returned is going go be, but I’m expecting a dictionary that’s verbatim of how it’s stored in the database which isn’t very future proof. The progress is called “Prog” and is a string of format “X %” (ex: “100 %”) which you can probably just use straight.

Privacy | Site terms | Cookie preferences