The renderGlobalsNode creates a render globals node and registers it with the model. The createNode command will not register nodes of this type correctly.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
name (n) | unicode | ||
parent (p) | unicode | ||
renderQuality (rq) | unicode | ||
Set the quality to be the renderQuality node with the given name.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
renderResolution (rr) | unicode | ||
|
|||
shared (s) | bool | ||
skipSelect (ss) | bool | ||
Derived from mel command maya.cmds.renderGlobalsNode
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.renderGlobalsNode('bob')
# Result: u'renderGlobals1' #
# this one will use defaults for resolution and quality
pm.renderGlobalsNode('bob', name='bob' )
# Result: u'bob' #
pm.renderGlobalsNode('bob', rq='myTestQuality1', name='abekasTestGlobals' )
# Result: u'abekasTestGlobals' #