This node edits and queries the attributes of the active dynGlobals node in the scene. There can be only one active node of this type. The active dynGlobals node is the first one that was created, either with a “createNode” command or by accessing/editing any of the attributes on the node through this command.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
active (a) | bool | ||
This flag returns the name of the active dynGlobals node in the the scene. Only one dynGlobals node is active. It is the first on created. Any additional dynGlobals nodes will be ignored. |
|||
listAll (la) | bool | ||
This flag will list all of the dynGlobals nodes in the scene.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
overSampling (os) | int | ||
|
Derived from mel command maya.cmds.dynGlobals
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.dynGlobals( e=True, os=5 )
# or
pm.dynGlobals( os=5 )
# Both of these commands will edit the overSampling attribute of
# the active dynGlobals node.