Go to: Synopsis. Return value. Flags. Python examples.
dynGlobals([active=boolean], [listAll=boolean], [overSampling=int])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
dynGlobals is undoable, queryable, and editable.
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.
| string | For edit commands |
| int | or string For query commands, depending on the flag queried. |
In query mode, return type is based on queried flag.
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
active(a)
|
boolean
|
|
||
|
||||
listAll(la)
|
boolean
|
|
||
|
||||
overSampling(os)
|
int
|
|
||
|
||||
import maya.cmds as cmds cmds.dynGlobals( e=True, os=5 ) # or cmds.dynGlobals( os=5 ) # Both of these commands will edit the overSampling attribute of # the active dynGlobals node.