----------------------------------------------
Issue
You are on Mac OS X and you want to render several files one after another using a batch script.
Solution
To batch render multiple scene files, you need to create a shell script, for example: myRender.sh.
- Using a text editor (Applications > Textedit), enter the render command for each individual scene on a separate line.
#!/bin/bash
Render –r sw scene1.mb
Render –r sw scene2.mb
Render –r sw scene3.mbIn some cases, you may need to enter the complete path of the Render command. It is located here:
/Applications/Autodesk/maya2009/Maya.app/Contents/bin/Render
- Save the file on your desktop as: myRender.sh.
- You will need to change the file permissions of myRender.sh to 755.
Open the Maya Terminal (Applications > Autodesk > Maya2009 > Maya Terminal) and type:
chmod 755 /Users/YOUR-USERNAME/Desktop/myRender.sh
[Return/Enter]
- Now run the script from the Maya terminal by typing:
/Users/YOUR-USERNAME/Desktop/myRender.sh
[Return/Enter]
No comments:
Post a Comment