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 | ||
|
|||
renderResolution (rr) | unicode | ||
|
|||
shared (s) | bool | ||
skipSelect (ss) | bool | ||
Derived from mel command maya.cmds.renderGlobalsNode
Example:
import pymel.core as pm
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' #