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.

Return value

stringThe name of the render globals node


renderQuality, renderResolution
Long name (short name) Argument types Properties
renderResolution(rr) string create
Set the resolution to be the resolution node with the given name.
renderQuality(rq) string create
Set the quality to be the renderQuality 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.

Python examples

import maya.cmds as cmds


# this one will use defaults for resolution and quality
cmds.renderGlobalsNode('bob', name='bob' )

cmds.renderGlobalsNode('bob', rq='myTestQuality1', name='abekasTestGlobals' )