ジャンプ先: 概要. 戻り値. フラグ. MEL 例.
transformCompare [-root]
[dagObject dagObject]
transformCompare は、取り消し可能、照会不可能、および編集不可能です。
引数として渡された 2 つのトランスフォームを比較します。同じ場合は、0 を返します。異なる場合は、1 を返します。コマンド ラインにトランスフォームを指定しないと、アクティブ リストのトランスフォームが使用されます。
| int | 成功した場合は 0。transform1 と transform2 が等しくない場合は 1 です。 |
root
| ロング ネーム(ショート ネーム) |
引数タイプ |
プロパティ |
|
-root(-r)
|
|
|
|
ルートの下位階層全体ではなく、ルートだけを比較します。
|
|
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
// Create some joints
//
select -d;
joint -p -3.226531 0 -4.866136 ;
joint -p 2.817897 0 -4.016915 ;
joint -e -zso -oj xyz -sao yup joint1;
// Compare 2 different joints, a 1 will be returned
//
select -r joint1 joint2;
transformCompare;
// Duplicate joint1 and compare the duplicate
//
select -r joint1;
duplicate;
select -cl ;
select -r joint1 joint3 ;
transformCompare;