pymel.core.rendering.renderGlobalsNode¶
- renderGlobalsNode(*args, **kwargs)¶
The renderGlobalsNode creates a render globals node and registers it with the model. The createNode command will not register nodes of this type correctly.
Flags:
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. renderResolution / rr unicode Set the resolution to be the resolution node with the given name. Flag can have multiple arguments, passed either as a tuple or a list. 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' #