Can i pass Extrainfo with MayaSubmitter?

I want pass parameter ExtraInfo with MayaSubmitter . Can i do it ?

But of course! You would want to add it to the code which writes the Job Info file. You’ll look for areas which read “Plugin=MayaBatch” and “Plugin=MayaCmd”.

The format of that information is outlined in the manual job submission section of the documentation.

Another option would be to use an OnJobSubmitted event. A simple example is the SetJobLimit event we have on Github. There, instead of setting the limit on the ‘job’ object, you would set ExtraInfo0.

What information are you going to be placing in there? The event will not have access to Maya’s internal API.

1 Like

Infomation about shotgun. i want update status deadline slave to shotgun.i will pass parameter “task id” shotgun to extrainfo