pymel.core.rendering.checkDefaultRenderGlobals

checkDefaultRenderGlobals(*args, **kwargs)

Command to check or set the “changed” mode for the defaultRenderGlobals node. In query mode, return type is based on queried flag.

Flags:
Long name (short name) Argument Types Properties
changed (ch) bool ../../../_images/create.gif ../../../_images/query.gif ../../../_images/edit.gif
 

Check or set the “changed” mode of the defaultRenderGlobals node.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.checkDefaultRenderGlobals

Example:

import pymel.core as pm

import maya.cmds as cmds

# To check if the defaultRenderGlobals node is marked dirty or not.
#
pm.checkDefaultRenderGlobals( query=True, changed=True )
# Result: False #
# To mark the defaultRenderGlobals node dirty.
#
pm.checkDefaultRenderGlobals( changed=True )
# To mark the defaultRenderGlobals node not dirty.
#
pm.checkDefaultRenderGlobals( changed=False )

Previous topic

pymel.core.rendering.cameraView

Next topic

pymel.core.rendering.convertIffToPsd

Core

Core Modules

Other Modules

This Page