Command to check or set the “changed” mode for the defaultRenderGlobals node. In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
changed (ch) | bool | ||
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 )