ジャンプ先: 概要. 戻り値. フラグ. MEL 例.

概要

viewManip [-bottomLeft] [-bottomRight] [-compassAngle float] [-dragSnap boolean] [-drawCompass boolean] [-fitToView] [-frontParameters string] [-goDefault] [-goHome] [-homeParameters string] [-levelCamera] [-minOpacity float] [-namespace string] [-postCommand string] [-preCommand string] [-preserveSceneUp boolean] [-resetFront] [-resetHome] [-restoreCenter] [-selectionLockParameters string] [-setFront] [-setHome] [-size string] [-toggleSelectionLock] [-topLeft] [-topRight] [-visible boolean] [-zoomToFitScene boolean]

viewManip は、取り消し可能、照会可能、および編集不可能です。

ビュー立方体マニピュレータへの MEL アクセス。

戻り値

なし

照会モードでは、戻り値のタイプは照会されたフラグに基づきます。

フラグ

bottomLeft, bottomRight, compassAngle, dragSnap, drawCompass, fitToView, frontParameters, goDefault, goHome, homeParameters, levelCamera, minOpacity, namespace, postCommand, preCommand, preserveSceneUp, resetFront, resetHome, restoreCenter, selectionLockParameters, setFront, setHome, size, toggleSelectionLock, topLeft, topRight, visible, zoomToFitScene
ロング ネーム(ショート ネーム) 引数タイプ プロパティ
-bottomLeft(-bl) createquery
画面の左下に立方体を配置します。
-bottomRight(-br) createquery
画面の右下に立方体を配置します。
-compassAngle(-ca) float createquery
コンパスを回転する角度(度数)。
-dragSnap(-ds) boolean createquery
オービット方向のスナップを有効化し、ドラッグ操作中に立方体部分の方向を表示します。
-drawCompass(-dc) boolean createquery
ビュー立方体の下にコンパスを表示します。
-fitToView(-ftv) create
シーンのバウンディング ボックスを、アクティブ ビューに合わせます。
-frontParameters(-fp) string createquery
正面の位置のパラメータ文字列です。
-goDefault(-gd) createquery
既定の位置に移動します。
-goHome(-gh) createquery
ホーム ポジションに移動します。
-homeParameters(-hp) string createquery
ホーム ポジションのパラメータ文字列です。
-levelCamera(-lc) create
カメラ ビューの回転を地表プレーンに対して相対的に平らにします。
-minOpacity(-mo) float createquery
カーソルが離れている場合のビュー立方体の不透明度レベル(範囲 [0,1])(カーソルがビュー立方体領域にある場合は完全に不透明です)。
-namespace(-ns) string createquery
オブジェクトに使用するネームスペースです。
-postCommand(-p) string createquery
移動した後に実行するコマンドです。
-preCommand(-pr) string createquery
移動する前に実行するコマンドです。
-preserveSceneUp(-psu) boolean createquery
シーンの「アップ」方向を保持するかどうかを指定します。
-resetFront(-rf) createquery
正面の位置をリセットします。
-resetHome(-rh) createquery
ホーム ポジションをリセットします。
-restoreCenter(-rc) create
シーンのオービットまたはタンブルを行うピボット ポイントを、シーンのバウンディング ボックスの中央に再配置します。
-selectionLockParameters(-slp) string createquery
選択ロックのパラメータを含む文字列です。
-setFront(-sf) create
現在のビューを正面ビューに設定します。
-setHome(-sh) create
現在のビューをホーム ビューに設定します。
-size(-s) string createquery
ビュー キューブのサイズを設定または照会します。値は「tiny」、「small」、「normal」、「large」、「auto」のいずれかです。「auto」に設定すると、ビュー キューブはビューにもっとも適切なサイズに自動的に設定されます。
-toggleSelectionLock(-tsl) create
選択ロックを切り替えます。
-topLeft(-tl) createquery
画面の左上に立方体を配置します。
-topRight(-tr) createquery
画面の右上に立方体を配置します。
-visible(-v) boolean createquery
ビュー マニピュレータを表示/非表示にします。
-zoomToFitScene(-zf) boolean createquery
アニメートされたトランジション中にカメラをズームし、ビューポートのシーン オブジェクトに合わせます。

フラグはコマンドの作成モードで表示できます フラグはコマンドの編集モードで表示できます
フラグはコマンドの照会モードで表示できます コマンド内でフラグを複数回使用できます。

MEL 例

//Position the view cube in the top left of the screen and set it to fully opaque
viewManip -topLeft -minOpacity 1;