scriptJob with Maya

Hi Ryan

I d like to submit a Mayabatch render with my job file, plugin file, and a mel script job attached to it
my scriptjob just modify scene parameters (like shader overwirting) before rendering
Is deadline sourcing the melscript at opening of the scene ? (so before rendering )

Cheers
Guy

Hi Guy,

When you run a script job with the MayaBatch plugin, Deadline just runs the script against the scene file, and that’s it (ie: it doesn’t go on to render it as normal afterwards).

I’m guessing the pre-mel script options in the Maya scene settings won’t work here? If not, you may have to modify the MayaBatch plugin so that it sources a script prior rendering.

Cheers,

  • Ryan

ok thanks Ryan

so I will use the MayaCmd that has the CommandLineOptions available where I can inject -pre and -post mel commands

Cheers
Guy