Author Topic: Maya comandline  (Read 11664 times)

uppi

  • Full Member
  • ***
  • Posts: 10
Maya comandline
« on: March 28, 2012, 04:34:44 AM »
Hi all,

Maya job i am trying to submit with cmd line ,

I can get a job in Qube with the Maya job type, but can someone explain how to specify the jobtype specific options. I know its something to do with package but don't know the syntax.

below scene how can i submit qube command line.

COMMAND: "C:\WINDOWS\system32\cmd.exe" /C ""C:/Program Files/Autodesk/Maya2009/bin/Render.exe" -s 1 -e 10 -b 1 -rd "Z:\Rendering\March_2012\TEST\TEST" -proj "Z:\RBT\Maya_RBT" -renderer "mr"  "Z:\Rendering\March_2012\TEST\TEST.ma""


uppi

BrianK

  • Hero Member
  • *****
  • Posts: 107
Re: Maya comandline
« Reply #1 on: March 30, 2012, 05:39:41 PM »
I believe this question was answered via support, but to keep the googlers up to speed:

You would submit a cmdrange job with a command that looks like:

"C:/Program Files/Autodesk/Maya2009/bin/Render.exe" -s QB_FRAME_START -e QB_FRAME_END -b QB_FRAME_STEP -rd "Z:\Rendering\March_2012\TEST\TEST" -proj "Z:\RBT\Maya_RBT" -renderer "mr"  "Z:\Rendering\March_2012\TEST\TEST.ma"

Using a cmdrange job is likely what you want more than cmdline, as the former allows you to specify a frame range in the submission dialog (which would then allow the job to be split over multiple computers), the latter assumes only a single command be run by only one worker, which means the frame range must be hard-coded into the command line & there's no way to distribute the rendering over the multiple machines.

Using cmdrange also allows for chunking, frame ordering, preview frames, frame specific  output, etc. etc. etc.

As an aside, the Maya Batchrender submission should handle all/most of this for you, but if that doesn't suit your needs, using cmdrange should do the trick.

If you would prefer to the the single cmdline rendering option, simply replace the QB_FRAME_* with the appropriate frame numbers.

See attached screen shot for example of the cmdrange version.

[attachment deleted by admin]