ジャンプ先: 概要. 戻り値. 関連. フラグ. MEL 例.
selectKey [-addTo] [-animation string] [-attribute string] [-clear] [-controlPoints boolean] [-float floatrange] [-hierarchy string] [-inTangent] [-includeUpperBound boolean] [-index uint] [-keyframe] [-outTangent] [-remove] [-replace] [-shape boolean] [-time timerange] [-toggle] [-unsnappedKeys float]
[targetList]
selectKey は、取り消し可能、照会不可能、および編集不可能です。
このコマンドは、キーセット上に作用します。キーセットは、1 つまたは複数のアニメーション カーブ上の指定したタイム レンジ内のキー グループとして定義されます。
キーセットを構成するアニメーション カーブは、「-animation」フラグの値に依存します。
-
keysOrObjects:
- コマンド ラインにターゲット オブジェクトまたは -attribute フラグが表示されていない場合は任意のアクティブ キー
- アクティブ キーが存在しない場合は、コマンド ラインの targetList として指定されているオブジェクトのキーフレーム可能なすべてのアトリビュートに接続されたすべてのアニメーション カーブ
-
keys: アクティブなキーまたは接線のみに作用します。アクティブなキーまたは接線がない場合は、何も行いません。
-
objects: 指定したオブジェクトのみに作用します。オブジェクトが指定されていない場合は、何も行いません。
-animation フラグを使用して、「translateX」など attributeName という形式の引数を取る、多目的な -attribute フラグによって固有に識別されるカーブをオーバーライドすることができます。
アニメーション カーブ上の各キーは、カーブの時間値またはインデックスによって識別されます。時間とインデックスは、単独にあるいはリストの一部または範囲として指定することができます(例を参照)。
このコマンドは、キーフレームおよび/またはキーフレームの接線をアクティブ リストに配置します。
int | キーが選択(または選択解除)されたカーブの数です。 |
select, selectMode, selectPref, selectPriority, selectType, selectedNodes
addTo, animation, attribute, clear, controlPoints, float, hierarchy, inTangent, includeUpperBound, index, keyframe, outTangent, remove, replace, shape, time, toggle, unsnappedKeys
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
// Keys on animation curves are identified by either
// their time values or their indices. Times and indices can
// be given individually or as part of a list or range.
// -time "10pal:10pal" means the key at frame 10 (PAL format).
// -time "1.0sec:1.0sec" -time "15ntsc:15ntsc" -time "20:20" means the keys at time 1.0 second, frame 15 (in NTSC format), and time 20 (in the currently defined global time unit).
// -time "10:20" means all keys in the range from 10 to 20, inclusive, in the current time unit.
// Omitting one end of a range means "go to infinity", as in the following examples:
// -time "10:" means all keys from time 10 (in the current time unit) onwards.
// -time ":10" means all keys up to (and including) time 10 (in the current time unit).
// -time ":" is a short form to specify all keys.
// -index 0 means the first key of each animation curve. (Indices are 0-based.)
// -index 2 -index 5 -index 7 means the 3rd, 6th, and 8th keys.
// -index "1:5" means the 2nd, 3rd, 4th, 5th, and 6th keys of each animation curve.
// Select all translateX keyframes on nurbsSphere1 in the range 10 to 20.
//
selectKey -time "10:20" -attribute translateX nurbsSphere1;
// select all the animation of the active objects, range 0-30
//
selectKey -time "0:30";