Go to: Synopsis. Return value. Keywords. Related. Flags. Python examples.
compositingInterop([addTag=string], [addTagValue=string], [layer=string], [output=string], [temporaryFile=boolean])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
compositingInterop is NOT undoable, NOT queryable, and NOT editable.
Exports relevant information for compositing packages, in XML format.
Return value is the name of file that has been written, or the
empty string if standard outout was used.
compositing
render
addTag, addTagValue, layer, output, temporaryFile
Long name (short name) |
Argument types |
Properties |
layer(l)
|
string
|
|
|
Only processes the given layer(s). This flag can be used multiple times to specify multiple layers. When not set, all the renderable layers are processed.
|
|
output(o)
|
string
|
|
|
Name of the output file. If not specified, the output is the standard output.
If set to a relative path, the file is written in the current project image
directory.
|
|
temporaryFile(tf)
|
boolean
|
|
|
When set, a unique temporary filename is automatically generated to store
the output
|
|
addTag(at)
|
string
|
|
|
Adds additionnal tag in the header section of the XML file. The value will be
read by the corresponding argument to -addTagValue
|
|
addTagValue(atv)
|
string
|
|
|
Adds a value for an additionnal tag in the header section of the XML file.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can have multiple arguments, passed either as a tuple or a list.
|
import maya.cmds as cmds
# Run the command with default options
cmds.compositingInterop()
# Run the command on layer1 and layer3 only, store the result in a
# temporary file
cmds.compositingInterop( layer=('layer1', 'layer3'), temporaryFile=True )