pymel.core.nodetypes.DagPose

Inheritance diagram of DagPose

class DagPose(*args, **kwargs)

class counterpart of mel function dagPose

This command is used to save and restore the matrix information for a dag hierarchy. Specifically, the data stored will restore the translate, rotate, scale, scale pivot, rotate pivot, rotation order, and (for joints) joint order for all the objects on the hierarchy. Data for other attributes is not stored by this command. This command can also be used to store a bindPose for an object. When you skin an object, a dagPose is automatically created for the skin.

getAtPose(**kwargs)

Query whether the hierarchy is at same position as the pose. Names of hierarchy members that are not at the pose position will be returned. An empty return list indicates that the hierarchy is at the pose.

Derived from mel command maya.cmds.dagPose

getBindPose(**kwargs)

Used to specify the bindPose for the selected hierarchy. Each hierarchy can have only a single bindPose, which is saved automatically at the time of a skin bind. The bindPose is used when adding influence objects, binding new skins, or adding flexors. Take care when modifying the bindPose with the -rs/-reset or -rm/-remove flags, since if the bindPose is ill-defined it can cause problems with subsequent skinning operations.

Derived from mel command maya.cmds.dagPose

getMembers(**kwargs)

Query the members of the specified pose. The pose should be specified using the selection list, the -bp/-bindPose or the -n/-name flag.

Derived from mel command maya.cmds.dagPose

getName(**kwargs)

Specify the name of the pose. This can be used during create, restore, reset, remove, and query operations to specify the pose to be created or acted upon.

Derived from mel command maya.cmds.dagPose

getSelection(**kwargs)

Whether or not to store a pose for all items in the hierarchy, or for only the selected items.

Derived from mel command maya.cmds.dagPose

Previous topic

pymel.core.nodetypes.DagNode

Next topic

pymel.core.nodetypes.DataBlockTest

Core

Core Modules

Other Modules

This Page