2008

At Verbosity level 5, the output message from command-line rendering includes
both a timestamp and a date stamp. The timestamp is separated from the
main message by a semicolon, and the elapsed time message is separated from
the Frame Completed message by a semicolon. This lets you pipe the message
to a file, and then open it in a spreadsheet program with appropriate columns
by setting the delimiter character.
Separators
Many switches are displayed in the following charts with trailing colons, such
as -w: or -h:. The use of a colon separator is optional, and can be replaced with
a space or an equal sign (=). Therefore, command lines such as:
c:\program files\autodesk\3dsmax9\3dsmaxcmd -outputName:c:\program
files\autodesk\3dsmax9\renderoutput\myImage.jpg -w:640 -h:480
c:\program files\autodesk\3dsmax9\scenes\myscene.max
c:\program files\autodesk\3dsmax9\3dsmaxcmd -outputName c:\program
files\autodesk\3dsmax9\renderoutput\myImage.jpg -w 640 -h 480
c:\program files\autodesk\3dsmax9\scenes\myscene.max
c:\program files\autodesk\3dsmax9\3dsmaxcmd
-outputName=c:\program
files\autodesk\3dsmax9\renderoutput\myImage.jpg -w=640 -h=480
c:\program files\autodesk\3dsmax9\scenes\myscene.max
will give you the same results. The use of the equal sign can give your
command-line files more of an INI file appearance.
NOTE The switch -submit:[manager_name] is the only case where a colon is
necessary.
On/Off Command-Line Switches
Many of the switches you'll use are simple on/off toggles, such as the -rfw:
and -renderFields: switches. If you prefer, instead of using a 1 or 0 to designate
their states, you can use True or False. For example, to render a scene to a
specified file type and display the Rendered Frame Window, your command
line might look like this;
c:\program files\autodesk\3dsmax9\3dsmaxcmd
-outputName=c:\program
files\autodesk\3dsmax9\renderoutput\myImage.jpg -rfw=true c:\program
files\autodesk\3dsmax9\scenes\myscene.max
6366 | Chapter 18 Rendering