Is it possible to set the extra info on a task with the python/rest api?
I have each frame representing a character and I’d rather display it instead of having to go look up which character is frame 1000 in a database.
Hi Joseph,
I don’t think it is possible through the standalone python api, but you should be able to create a pre task script and use the Scripting API to set the task extra info.
Some links to get you started:
- https://docs.thinkboxsoftware.com/products/deadline/8.0/1_User%20Manual/manual/job-scripts.html
- https://docs.thinkboxsoftware.com/products/deadline/8.0/2_Scripting%20Reference/class_deadline_1_1_plugins_1_1_deadline_plugin.html#a9b5d44eab5aa0feb0e7f32214dbb1cc7
- https://docs.thinkboxsoftware.com/products/deadline/8.0/2_Scripting%20Reference/class_deadline_1_1_jobs_1_1_task.html#abddbe40566d17973fb81a2222bcf4787
Just updating those links to point to the 10.1 docs instead of the 8.0 versions:
Job Scripts - Describes what a pre/post script is and how to create one.
DeadlinePlugin.GetCurrentTask - Use this to get the current Task for the task script.
Jobs.Task.TaskProperties - Use this to get/set the Task’s properties. The ExtraInfo fields are a part of this collection.
1 Like