I want to send multiple files, if possible either by specifying a folder or a list of files with full paths to Deadline for processing. I do not want to render the files, i basically want to open a file, do some stuff with it and save the result in a new file.
I really want to avoid opening each file manually and running a script on it. I can do a batch processing, but I want to use Deadline to oversee the progress and follow potential errors and re-process the failed files after manually correcting them.
How do I do that?
Can I use command line submit and reference a python file for processing? Or do I need to reference a MEL file?
Can I ask for a bit more information on what you are trying to do? What type of script would you need run? Would each file have the same script applied to it? Also, what level of comfort do you have with scripting? Let me know, as all information will be helpful here.
I would love to give you a detailed description of intent, I just can’t until I talk to project manager (working for 3rd party) .
It is basically mesh manipulation, and steps while doing it manually are as follows:
Open a file
Run a python script which duplicates objects, processes original, transfer some attributes from duplicate to original, deletes duplicate
saves processed file
If I tell you, we can have batches of 200+ files, you can imagine how time consuming is manually processing file.
I already made a python script that will use maya stanadalone and process all .mb files in a folder in which you place it, do the job (still needs some tweaking though), and save the processed file.
Since I encountered some python interpreter crashes and project manager wants us to use our Deadline more and learn more about it’s potential, I want to send jobs to Deadline to handle the job management, including error reporting etc.
Using the Maya monitor submitter you are able to submit maya scenes as script jobs. These jobs will open the scene create a couple of functions in maya to pull data from deadline (frame number, plugin info paramaters, etc) and then run either a mel or python script on the scene. The monitor submitter also allows you to submit multiple scenes at once each of which will be a different job.
If you would like you could also create a script that could submit all of the scenes in a file as script jobs, if you would like to do it this way I can whip up a quick example script to do it this way.