Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.
pairBlend [-attribute string] [-input1] [-input2] [-node string]
pairBlend is undoable, queryable, and editable.
The pairBlend node allows a weighted combinations of 2 inputs to be blended together. It is created automatically when keying or constraining an attribute which is already connected.
Alternatively, the pairBlend command can be used to connect a pairBlend node to connected attributes of a node. The previously existing connections are rewired to input1 of the pairBlend node. Additional connections can then be made manually to input2 of the pairBlend node.
The pairBlend command can also be used to query the inputs to an existing pairBlend node.
string | name of pairBlend node |
In query mode, return type is based on queried flag.
blend, animation, constraints
orientConstraint, parentConstraint, pointConstraint, setKeyframe
attribute, input1, input2, node
Long name (short name) |
Argument types |
Properties |
-attribute(-at)
|
string
|
|
|
The name of the attribute(s) which the blend will drive. This flag is required when creating the blend.
|
|
-input1(-i1)
|
|
|
|
Returns a string array of the node(s) connected to input 1.
|
|
-input2(-i2)
|
|
|
|
Returns a string array of the node(s) connected to input 2.
|
|
-node(-nd)
|
string
|
|
|
The name of the node which the blend will drive. This flag is required when creating the blend.
|
|
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.
|
// Create a pairBlend node and connect sphere1's tx and ty to the pairBlend's input1
pairBlend -nd sphere1 -at tx -at ty;
// Query the nodes connected to input1.
//
string $inputs[] = `pairBlend -q -input1 pairBlend1`;