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

概要

shotRipple([deleted=boolean], [endDelta=time], [endTime=time], [startDelta=time], [startTime=time])

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

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

リップル編集モードを有効にすると、操作したショットに隣接するショットがシーケンス時間において移動され、そのノードの編集に応じて前に進めたりギャップを詰めたりできます。ショット編集にパラメータを指定すると、移動するその他のショットが選択されて適切なサイズで移動されます。ショット名を指定しない場合、最初に選択したショットが使用されます。

戻り値

なし

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

キーワード

reference, sequencer, node, shot, ripple

フラグ

deleted, endDelta, endTime, startDelta, startTime
ロング ネーム(ショート ネーム) 引数タイプ プロパティ
deleted(d) boolean createqueryedit
このリップル編集によってショットを削除するかどうかを指定します。
endDelta(ed) time createqueryedit
フレームの終了時間の変更を指定します。
endTime(et) time createqueryedit
シーケンス タイム スライダでの先頭ショットの終了時間を指定します。
startDelta(sd) time createqueryedit
フレームの開始時間の変更を指定します。
startTime(st) time createqueryedit
シーケンス タイム スライダでの先頭ショットの開始時間を指定します。

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

Python 例

import maya.cmds as cmds



// A shot initially starting at sequence time 0 was edited to start 10 frames later.
// adjust the rest of the shots accordingly
cmds.shotRipple(shotName, startTime=0, startDelta=10)

// A shot initially ending at frame 10 was edited to start 5 frames earlier.
// adjust the rest of the shots accordingly
cmds.shotRipple(shotName, endTime=10, endDelta=-5)

// A shot starting at frame 10 and ending at frame 20 was just deleted
// adjust the rest of the shots accordingly (if necessary)
cmds.shotRipple(shotName, delete=1,startTime=10,endTime=20)