ジャンプ先: 概要. 戻り値. キーワード. 関連. フラグ. MEL 例.
 aliasAttr [-remove]   
aliasAttr は、取り消し可能、照会可能、および編集可能です。
指定したノードの任意のアトリビュートに対して、エイリアス(代替名)を定義できるようにします。アトリビュートにエイリアスを指定すると、システムはエイリアスを使用してアトリビュートの情報を表示します。ただし、ユーザはアトリビュートのエイリアスとオリジナルの名前のどちらでも自由に使用できます。アトリビュートには単一のエイリアスしか指定できないため、すでにエイリアスが設定されたアトリビュートにエイリアスを設定すると、古いエイリアスが壊れます。| string[] | 照会モードで使用。 | 
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
| -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 the X rotation on a joint 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;