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 createNodecommand 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 | ||
|
|||
overSampling (os) | int | ||
|
Derived from mel command maya.cmds.dynGlobals
Example:
import pymel.core as pm
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.