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

概要

animView( string[] , [endTime=time], [maxValue=float], [minValue=float], [nextView=boolean], [previousView=boolean], [startTime=time])

注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。

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

アニメーション エディタ(Animation Editor)で、現在選択しているビューの範囲を指定します。

戻り値

なし

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

フラグ

endTime, maxValue, minValue, nextView, previousView, startTime
ロング ネーム(ショート ネーム) 引数タイプ プロパティ
endTime(et) time
エディタに表示するアニメーションの終了時間
maxValue(max) float
エディタに表示する上限値
minValue(min) float
エディタに表示する下限値
nextView(nv) boolean edit
次のビューに切り替えます。
previousView(pv) boolean edit
前のビューに切り替えます。
startTime(st) time
エディタに表示するアニメーションの開始時間

フラグはコマンドの作成モードで表示できます フラグはコマンドの編集モードで表示できます
フラグはコマンドの照会モードで表示できます フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。

Python 例

import maya.cmds as cmds

# Look at the area between 0 and 5 seconds, and the range 0 - 100
cmds.animView( 'graphView', startTime='0sec', endTime='5sec', minValue=0, maxValue=100 )