ジャンプ先: 概要. 戻り値. フラグ. MEL 例.
hilite [-replace] [-toggle] [-unHilite]
[objects]
hilite は、取り消し可能、照会不可能、および編集不可能です。
指定したオブジェクトのハイライトを設定または設定解除します。オブジェクトのハイライトを設定すると、オブジェクトのコンポーネントを選択できるようになります。オブジェクトが指定されていない場合、セレクション リストが使われます。
なし
replace, toggle, unHilite
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
// Create a few objects.
//
string $sphere[] = `sphere`; move -relative 0 0 3;
string $cone[] = `cone`; move -relative 0 0 -3;
string $cylinder[] = `cylinder`;
// Select the sphere.
//
select -replace $sphere;
// Add the cone and cylinder to the hilite list.
//
hilite $cone[0] $cylinder[0];
// Toggle the hilite state of the cylinder.
//
hilite -toggle $cylinder[0];
// Replace the hilite list with the current selected objects.
//
hilite -replace;