The batchRender command is used to spawn off a separate rendering session of the current maya file. If no mayaFile is specified, it’ll ask you whether you want the current job killed. The batchRender will spawn a separate maya process in which commands will be communicated to it through a commandPort. If Maya is unable to find an available port an error will be produced. Maya will attempt to use ports 7835 through 7844.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
filename (f) | unicode | ||
|
|||
melCommand (mc) | unicode | ||
|
|||
numProcs (n) | int | ||
|
|||
preRenderCommand (prc) | unicode | ||
|
|||
remoteRenderMachine (rm) | unicode | ||
|
|||
renderCommandOptions (rco) | unicode | ||
|
|||
showImage (si) | bool | ||
|
|||
status (st) | unicode | ||
useRemoteRender (um) | bool | ||
|
|||
useStandalone (us) | bool | ||
|
|||
verbosity (v) | int | ||
Defines the verbosity level to report the batch rendering status: 1: display only one start message, then one message when all frames are rendered.2: display only start and end frame messages.3: display all messages (default).Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
Derived from mel command maya.cmds.batchRender
Example:
import pymel.core as pm
pm.batchRender()
pm.batchRender( 'mayafile' )