Hi,
I’m currently in the process of writing a vrimage to exr event plugin to automatically submit a conversion job once the render has completed.
Unfortunately my relative unfamiliarity with python and deadline in general is causing a few issues. I’ve got the basic event set up and running printing some debug log when a job is successfully completed, but I’m having an issue with the next step.
Basically, I need to be able to determine whether the job is coming from Maya, and check the render settings to see if the image format is vrimg.
Now I can only assume that all this information is stored within the job itself. On a desktop I’d usually use dir, or pprint to print the details of the object, but this doesn’t get output into the deadline logs, so doesn’t provide me with any useful information.
I’ve had a look through the documentation, but I can’t find anything detailed that would show the data contained within a job from the “Submit Job to Deadline” Maya plugin.
Any pointers to documentation or general tips would be greatly appreciated.
Many thanks.
Here’s an example that might help:
Deadline 5: thinkboxsoftware.com/deadlin … on_Example
Deadline 6: thinkboxsoftware.com/deadlin … on_Example
Currently, the QT event plugin example checks for a Nuke job, and grabs the output file name from the job if it is in order to generate a QT job and submit it back to Deadline. To determine if it is a Maya job, you would just check to see if job.JobPlugin equals “MayaBatch” or MayaCmd".
The issue with Python print statements not making it into the Deadline logs has been fixed in Deadline 6, so I’m assuming you’re still on Deadline 5. You can use the logging functions here to log to the event plugin log:
thinkboxsoftware.com/deadlin … l_Funtions
You can view logs from event plugins by right-clicking on the job in the Monitor and selecting View Job Reports. The event logs or errors are stored in the same place that render logs or errors are stored.
Hope this helps!
Fantastic, that looks like just the thing I’m looking for.
We are still on Deadline 5, yes, but we’re planning on upgrading soon, so I’ll hold off until then.
Thanks for your help!