ジャンプ先: 概要. 戻り値. キーワード. 関連. フラグ. Python 例.
timeEditorClipLayer([addAttribute=string], [addLayer=string], [addObject=string], [allLayers=boolean], [attribute=string], [attributeKeyable=string], [clipId=int], [index=int], [keySiblings=boolean], [layerId=int], [layerName=string], [mode=int], [mute=boolean], [name=boolean], [path=string], [removeAttribute=string], [removeLayer=boolean], [removeObject=string], [resetSolo=boolean], [setKeyframe=boolean], [solo=boolean], [zeroKeying=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
timeEditorClipLayer は、取り消し可能、照会可能、および編集可能です。
タイム エディタ(Time Editor)クリップ レイヤのコマンド
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
timeEditor, nle, layer
timeEditor, timeEditorClip
addAttribute, addLayer, addObject, allLayers, attribute, attributeKeyable, clipId, index, keySiblings, layerId, layerName, mode, mute, name, path, removeAttribute, removeLayer, removeObject, resetSolo, setKeyframe, solo, zeroKeying
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。
|
import maya.cmds as cmds
# Add an additive clip layer by clip ID
cmds.timeEditorClipLayer(e=True, clipId=1, addLayer="Layer A", mode=0)
# Add an additive clip layer by clip path
cmds.timeEditorClipLayer(e=True, path='Composition1|track1|Group|track1|Clip1', addLayer="Layer A", mode=0)
# Add an attribute to the given layer by clip ID and layer ID
cmds.timeEditorClipLayer(e=True, clipId=1, layerId=1, addAttribute="cube.tx")
# Add an attribute to the given layer by layer path
cmds.timeEditorClipLayer(e=True, path='Composition1|track1|Clip1|Layer1', addAttribute="cube.tx")
# Set key in the given layer
cmds.select("cube")
cmds.move(10, 0, 0, r=True)
cmds.timeEditorClipLayer(e=True, clipId=1, layerId=1, setKeyframe=True, attribute="cube.tx")
# Remove layer attribute
cmds.timeEditorClipLayer(e=True, clipId=1, layerId=1, removeAttribute="cube.tx")
# Query the layer name
cmds.timeEditorClipLayer(clipId=1, layerId=1, layerName=True, q=True)
# Remove the specified layer by clip ID and layer ID
cmds.timeEditorClipLayer(e=True, clipId=1, removeLayer=True, layerId=1);
# Remove the specified layer by layer path
cmds.timeEditorClipLayer(e=True, path='Composition1|track1|Clip1|Layer1', removeLayer=True);