Go to: Synopsis. Return value. Flags. Python examples.
renderGlobalsNode([renderQuality=string], [renderResolution=string])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
renderGlobalsNode is undoable, NOT queryable, and NOT editable.
The renderGlobalsNode creates a render globals node and registers it
with the model. The createNode command will not register nodes of this
type correctly.
string | The name of the render globals node |
renderQuality, renderResolution
Long name (short name) |
Argument types |
Properties |
|
renderQuality(rq)
|
string
|
|
|
Set the quality to be the renderQuality node with the given name.
|
|
renderResolution(rr)
|
string
|
|
|
Set the resolution to be the resolution node with the given name.
|
|
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
cmds.renderGlobalsNode('bob')
# this one will use defaults for resolution and quality
cmds.renderGlobalsNode('bob', name='bob' )
cmds.renderGlobalsNode('bob', rq='myTestQuality1', name='abekasTestGlobals' )