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

概要

timeEditorPanel [-activeClipEditMode int] [-activeTabRootClipId] [-activeTabTime] [-activeTabView int] [-autoFit string] [-autoFitTime string] [-control] [-defineTemplate string] [-displayActiveKeyTangents string] [-displayActiveKeys string] [-displayInfinities string] [-displayKeys string] [-displayTangents string] [-displayValues string] [-docTag string] [-exists] [-filter string] [-forceMainConnection string] [-groupIdForTabView int] [-highlightConnection string] [-keyingTarget int] [-layerId int] [-lockMainConnection] [-lookAt string] [-mainListConnection string] [-menu script] [-minClipWidth int] [-panel string] [-parent string] [-selectionConnection string] [-setToPrevClipEditMode] [-snapTime string] [-snapToClip boolean] [-snapToFrame boolean] [-snapTolerance int] [-snapValue string] [-stateString] [-tabView int] [-timeCursor boolean] [-unParent] [-unlockMainConnection] [-updateMainConnection] [-useTemplate string] editorName

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

タイム エディタ(Time Editor) - ノンリニア アニメーション エディタ

戻り値

stringコマンドの結果

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

フラグ

activeClipEditMode, activeTabRootClipId, activeTabTime, activeTabView, autoFit, autoFitTime, control, defineTemplate, displayActiveKeyTangents, displayActiveKeys, displayInfinities, displayKeys, displayTangents, displayValues, docTag, exists, filter, forceMainConnection, groupIdForTabView, highlightConnection, keyingTarget, layerId, lockMainConnection, lookAt, mainListConnection, menu, minClipWidth, panel, parent, selectionConnection, setToPrevClipEditMode, snapTime, snapToClip, snapToFrame, snapTolerance, snapValue, stateString, tabView, timeCursor, unParent, unlockMainConnection, updateMainConnection, useTemplate
ロング ネーム(ショート ネーム) 引数タイプ プロパティ
-activeClipEditMode(-ace) int queryedit
エディタに適切なクリップの編集モードを設定します。
  • 0: 既定のモード
  • 1: トリム モード
  • 2: スケール モード
  • 3: ループ モード
  • 4: 保持モード
-activeTabRootClipId(-atr) query
現在アクティブなタブを開いたクリップ ID を取得します。メイン タブの場合は、ルートクリップが存在しないことを示す -1 が返されます。
-activeTabTime(-att) query
アクティブなタブに表示される現在のタイムを取得します。これは、メイン タブの場合はグローバル タイムになり、その他の場合はローカル タイムになります。
-activeTabView(-atv) int queryedit
タブ ウィジェットの(アクティブな)可視タブのインデックスを取得/設定します。注: インデックスはゼロベースです。
-autoFit(-af) string queryedit
on | off | tgl はビューへの自動フィットのオン/オフを切り替えます。
-autoFitTime(-aft) string queryedit
on | off | tgl は時間軸に沿ってビューへの自動フィットのオン/オフも切り替えます。
-control(-ctl) query
照会モード専用です。このエディタの最上位のコントロールを返します。通常は、親を取得してポップアップ メニューをアタッチするために使用します。注意: コントロールのないエディタが存在する場合があります。コントロールが存在しない場合は、この照会は NONE を返します。
-defineTemplate(-dt) string create
他の任意のフラグと引数を解析し、かつ引数で指定したコマンド テンプレートに追加するモードに、コマンドのモードを変更します。 templateName が現在のテンプレートとして設定されていれば、その後コマンドが実行されるたびに、この引数が既定の引数として使用されます。
-displayActiveKeyTangents(-dat) string edit
on | off | tgl はエディタのアクティブ キー接線の表示/非表示を切り替えます。
-displayActiveKeys(-dak) string edit
on | off | tgl はエディタのアクティブ キーの表示/非表示を切り替えます。
-displayInfinities(-di) string edit
on | off | tgl はエディタのインフィニティの表示/非表示を切り替えます。
-displayKeys(-dk) string edit
on | off | tgl はエディタのキーフレームの表示/非表示を切り替えます。
-displayTangents(-dtn) string edit
on | off | tgl はエディタの接線の表示/非表示を切り替えます。
-displayValues(-dv) string edit
on | off | tgl はエディタのアクティブ キーおよび接線の値の表示/非表示を切り替えます。
-docTag(-dtg) string createqueryedit
エディタにタグをアタッチします。
-exists(-ex) create
指定したオブジェクトが存在するかどうかを返します。他のフラグは無視されます。
-filter(-f) string createqueryedit
このエディタに使用する項目フィルタ オブジェクトの名前を指定します。エディタの主要リストに表示される情報をフィルタします。
-forceMainConnection(-fmc) string createqueryedit
エディタがコンテンツのソースとして使用する selectionConnection オブジェクトの名前を指定します。エディタは selectionConnection オブジェクトに含まれている項目のみを表示します。これは -mainListConnection フラグの変形で、接続がロックされている場合でも強制的に変更します。このフラグを使用して、-unlockMainConnection、-mainListConnection、-lockMainConnection フラグを直後に連続して使用する場合に、オーバーヘッドを減します。
-groupIdForTabView(-gtv) int query
指定したタブ ビュー インデックスのグループ クリップ ID を取得します。タブのインデックスを指定するには、このフラグは -query フラグの前に置く必要があります。

照会モードでは、このフラグに値が必要になります。

-highlightConnection(-hlc) string createqueryedit
そのハイライト リストをエディタと同期化させる selectionConnection オブジェクトの名前を指定します。すべてのエディタにハイライト リストがあるわけではありません。ハイライト リストがあるエディタの場合、これは第二の選択項目を表示したリストになります。
-keyingTarget(-kt) int queryedit
指定したクリップ ID にターゲットをキー設定します。レイヤにキー設定する場合、「-layer」フラグを使用する必要があります。照会モードでは、クリップ ID が省略され、キー設定しているターゲットの名前が返されます。
-layerId(-l) int edit
キー設定しているターゲットのレイヤ ID を示します。
-lockMainConnection(-lck) createedit
mainConnection 内のオブジェクトの現在のリストをロックして、そのオブジェクトだけがエディタ内に表示されるようにします。これ以降、元の mainConnection に変更を加えても無視されます。
-lookAt(-la) string edit
FitView ヘルパーを、「all」、「selected」、「currentTime」のいずれかで指定できます。
-mainListConnection(-mlc) string createqueryedit
エディタがコンテンツのソースとして使用する selectionConnection オブジェクトの名前を指定します。エディタは selectionConnection オブジェクトに含まれている項目のみを表示します。
-menu(-m) script create
エディタの作成時に実行されるスクリプトを指定します。関数は、新しいエディタの名前である文字列引数を渡します。
-minClipWidth(-mcw) int queryedit
最小クリップの幅を設定します。
-panel(-pnl) string createquery
このエディタ用のパネルを指定します。既定では、エディタがスクリプト パネルの作成コールバックで作成された場合、エディタはそのパネルに属します。エディタがパネルに属していない場合、エディタのあるウィンドウを削除するとエディタも削除されます。
-parent(-p) string createqueryedit
このエディタの親のレイアウトを指定します。このフラグは、エディタが現在ペアレント化されていない場合のみに効果があります。
-selectionConnection(-slc) string createqueryedit
その独自のセレクション リストをエディタと同期化させる selectionConnection オブジェクトの名前を指定します。このエディタから選択する場合、selectionConnection オブジェクトの中から選択します。オブジェクトが変更されると、エディタが更新されて変更が反映されます。
-setToPrevClipEditMode(-spe) edit
前のクリップの編集モードに戻します。
-snapTime(-st) string queryedit
時間におけるキーフレームの移動スナップを「none」、「integer」、「keyframe」のいずれかで指定できます。
-snapToClip(-stc) boolean queryedit
クリップを操作してドラッグアンドドロップしているときに、タイム エディタのクリップにスナップ オプションのオン/オフを切り替えます。snapToClip をオンにすると、操作されるすべてのタイミングはクリップ境界に移動します(近くにクリップ境界がある場合)。
-snapToFrame(-stf) boolean queryedit
クリップを操作してドラッグアンドドロップしているときに、タイム エディタのフレームにスナップ オプションのオン/オフを切り替えます。snapToFrame をオンにすると、操作されるすべてのタイミングはフレームに正確に移動します。
-snapTolerance(-sto) int queryedit
スナップの許容値を設定します。
-snapValue(-sv) string queryedit
値におけるキーフレームの移動スナップを「none」、「integer」、「keyframe」のいずれかで指定できます。
-stateString(-sts) query
照会モード専用のフラグです。エディタを作成して現在のエディタの状態と一致させる MEL コマンドを返します。返されたコマンド文字列は、指定した名前の代わりに文字列変数 $editorName を使用します。
-tabView(-tv) int edit
指定したグループ クリップ ID のタブ ビューを作成します。
-timeCursor(-tc) boolean queryedit
タイム エディタ(Time Editor)のタイム カーソルをスクラブ用にアクティブ化します。
-unParent(-up) createedit
エディタをそのレイアウトから除去するように指定します。これは照会モードでは使用できません。
-unlockMainConnection(-ulk) createedit
mainConnection をロック解除して、オリジナルの mainConnection (まだ使用可能な場合)を効率的に復元し、ダイナミックな更新を行います。
-updateMainConnection(-upd) createedit
ロックされた mainConnection をオリジナルの mainConnection から更新させますが、ロック状態は保持されます。
-useTemplate(-ut) string create
コマンドに、現在のものとは異なるコマンド テンプレートを使用するように強制します。

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

MEL 例

// Check to see if the "default" time editor has been created
//
timeEditorPanel -exists timeEditorPanel1TimeEd;

// Open the group(id=1) in local time tab
//
timeEditorPanel -e -tabView 1 timeEditorPanel1TimeEd;

// Query the current active tab view
//
timeEditorPanel -q -activeTabView timeEditorPanel1TimeEd;

// Query the current time inside active tab view
//
timeEditorPanel -q -activeTabTime timeEditorPanel1TimeEd;

// Query the corresponding group given the tab view index
//
timeEditorPanel -groupIdForTabView 0 -q timeEditorPanel1TimeEd;