CG study (After Effects, Nuke, Maya...), English study and more.

Monday, March 22, 2010

[Maya]-memo-command line render on Mac OSX

command line render on Mac OSX-quote from Autodesk website



You are on Mac OS X and you want to render several files one after another using a batch script.


To batch render multiple scene files, you need to create a shell script, for example:

  1. Using a text editor (Applications > Textedit), enter the render command for each individual scene on a separate line.

    Render –r sw scene1.mb
    Render –r sw scene2.mb
    Render –r sw scene3.mb

    In some cases, you may need to enter the complete path of the Render command. It is located here:


  2. Save the file on your desktop as:
  3. You will need to change the file permissions of to 755.

    Open the Maya Terminal (Applications > Autodesk > Maya2009 > Maya Terminal) and type:

    chmod 755 /Users/YOUR-USERNAME/Desktop/


  4. Now run the script from the Maya terminal by typing:



No comments:

Post a Comment