Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.
pose [-allPoses] [-apply] [-name string]
pose is undoable, queryable, and editable.
This command is used to create character poses.
In query mode, return type is based on queried flag.
character, clip, animation, pose
character, clip, clipEditor, clipSchedule, pose
allPoses, apply, name
Long name (short name) |
Argument types |
Properties |
-allPoses(-ap)
|
|
|
|
This flag is used to query all the poses in the scene.
|
|
-apply(-a)
|
|
|
|
This flag is used in conjunction with the name flag to specify a pose should be applied to the character.
|
|
-name(-n)
|
string
|
|
|
In create mode, specify the pose name. In query mode, return a list of all the poses for the character. In apply mode, specify the pose to be applied.
|
|
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can be used more than once in a command.
|
// First, create a character to hold the pose. The character will be
// a 3-bone skeleton named "arm".
//
select -d;
joint -p 0 0 0 ;
joint -p 0 4 0 ;
joint -e -zso -oj xyz joint1;
joint -p 0 8 -1 ;
joint -e -zso -oj xyz joint2;
joint -p 0 9 -2 ;
joint -e -zso -oj xyz joint3;
select -r joint1 joint2 joint3;
character -name arm;
// Create a pose for the current joint position named "handWave"
//
pose -name "handWave" "arm";
// Query the existing poses
//
pose -q -n "arm";
// Restore the pose onto the character
//
pose -name "handWave" -apply "arm";