pymel.core.effects.dynGlobals

dynGlobals(*args, **kwargs)

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.

Flags:
Long name (short name) Argument Types Properties
active (a) bool ../../../_images/query.gif
 

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 ../../../_images/query.gif
 

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 ../../../_images/query.gif ../../../_images/edit.gif
 
This flag will set the current overSampling value for all of the particle in the scene.

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.

Previous topic

pymel.core.effects.dynExpression

Next topic

pymel.core.effects.dynPaintEditor

Core

Core Modules

Other Modules

This Page