ジャンプ先: 概要. 戻り値. フラグ. MEL 例.
snapTogetherCtx [-clearSelection boolean] [-exists] [-history boolean] [-image1 string] [-image2 string] [-image3 string] [-name string] [-setOrientation boolean] [-snapPolygonFace boolean]
[contextName]
snapTogetherCtx は、取り消し可能、照会可能、および編集可能です。
snapTogetherCtx は、サーフェスを一緒にスナップするツールを作成するためのコマンドです。
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
clearSelection, exists, history, image1, image2, image3, name, setOrientation, snapPolygonFace
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
// Create two nurbs spheres, then move them apart
sphere -r 3 -n nurbsSphere1;
move 5 0 0;
sphere -r 3 -n nurbsSphere2;
move -5 0 0;
// Create a new snap together tool context, set it to move objects only, then switch to it
// You can use this tool to snap two spheres together
snapTogetherCtx -so 0 snapTogetherCtx1;
setToolTo snapTogetherCtx1;