Go to: Return value. Related commands. Flags. Examples.
aliasAttr
[-remove toggle]
aliasAttr is undoable, queryable, and editable .
[stringarray] in query mode.
Long name (short name) | [argument types] | Properties | ||
---|---|---|---|---|
-remove
(-rm)
|
| ![]() | ||
![]() | ![]() |
![]() | ![]() |
createNode blendShape -n blender; // // Define intuitive names for the weights of a blendShape. // The blendShape command does this automatically to allow you // to refer to the weight corresponding to a target shape by the name // of that shape. // aliasAttr smile blender.w[0] frown blender.w[1]; // Result: 2 // // // List all the attribute aliases for the node blendShape1 // aliasAttr -q blender; // Result: smile weight[0] frown weight[1] // // // Allow a joint's X rotation to be called its "roll" // createNode joint -n elbow; aliasAttr roll elbow.rx; // Result: 1 // aliasAttr tuck elbow.ry; // Result: 1 // // // Remove the roll alias defined above. // aliasAttr -rm elbow.roll; // // Remove the tuck alias defined above. // aliasAttr -rm elbow.ry;