Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Fancy Bullets
typecircle
  • Arguments listed as Boolean can only receive true/false values. These options turn a feature on (true) or off (false). Acceptable values for true/false are 0/ 1, on/ off, yes/ no and true/ false.
  • Remember that float values include a decimal while integers do not. This means that integers can be used when a float is required, but float values cannot be used where integers are required.
  • String values must be enclosed in double quotes.
  • Available values from enumerated lists are presented with a pipe (|) separator. For example, 0 | 1 | 2 means the argument value can only be a 0, 1, or 2. String values of this argument type are input with quote marks.
  • Options with Set/Get will return the current values for the parameter when used without arguments.
  • The name of the Maya scene file should always be the last argument passed to the command line. For example, Render -r vray [options] <mayaSceneFile>.

 

All Purpose Options

 Flag
FlagDescriptionExample
-exportFileName <string>Use this to force exporting to a .vrscene file with the given name.Render -r vray -exportFileName "C:\1.vrscene" <mayaSceneFile>
-noRenderUse this to disable rendering. Usually it is used with -exportFileName to produce a.vrscene file.
 The
The flag requires no arguments.Render -r vray -exportFileName "C:\1.vrscene" -noRender <mayaSceneFile>
-exportSeparateUse this to export to separate .vrscene files.
 The
The flag requires no arguments.Render -r vray -exportFileName "C:\1.vrscene" -noRender -exportSeparate <mayaSceneFile>
-exportCompressedUse this to export to compressed .vrscene file.
 The
The flag requires no arguments.Render -r vray -exportFileName "C:\1.vrscene" -noRender -exportCompressed <mayaSceneFile>
-exportFramesSeparateUse this to export each frame to separate file. The flag requires no arguments.Render -r vray -exportFileName "C:\1.vrscene" -noRender -s 1 -e 10 -exportFramesSeparate <mayaSceneFile>
-exportSpecific <string>Use this to restrict the exporter to a list of (DAG) nodes.Render -r vray -exportFileName "C:\1.vrscene" -exportSpecific "pSphereShape1 pSphereShape2 pPlane1" <mayaSceneFile>

 

General Maya Options

FlagDescriptionExample
-rd <path>Directory in which to store image fileRender -r vray -rd "C:\images" <mayaSceneFile>
-of <string>Output image file format.Render -r vray -of "png" <mayaSceneFile>
-im <filename>Image file output nameRender -r vray -im "myRenderedImage" <mayaSceneFile>
-rep <boolean>Replace or not the rendered image if it already existsRender -r vray -rep 0 <mayaSceneFile>

...