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 ../../../_images/create.gif
 

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 ../../../_images/create.gif
 
Set the resolution to be the resolution node with the given name.
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' #

Previous topic

pymel.core.rendering.render

Next topic

pymel.core.rendering.renderInfo

Core

Core Modules

Other Modules

This Page