ジャンプ先: 概要. 戻り値. フラグ. Python 例.
timeEditorPanel(
editorName
, [activeClipEditMode=int], [activeTabRootClipId=boolean], [activeTabTime=boolean], [activeTabView=int], [autoFit=string], [autoFitTime=string], [control=boolean], [defineTemplate=string], [displayActiveKeyTangents=string], [displayActiveKeys=string], [displayInfinities=string], [displayKeys=string], [displayTangents=string], [displayValues=string], [docTag=string], [exists=boolean], [filter=string], [forceMainConnection=string], [groupIdForTabView=int], [highlightConnection=string], [keyingTarget=int], [layerId=int], [lockMainConnection=boolean], [lookAt=string], [mainListConnection=string], [menu=script], [minClipWidth=int], [panel=string], [parent=string], [selectionConnection=string], [setToPrevClipEditMode=boolean], [snapTime=string], [snapToClip=boolean], [snapToFrame=boolean], [snapTolerance=int], [snapValue=string], [stateString=boolean], [tabView=int], [timeCursor=boolean], [unParent=boolean], [unlockMainConnection=boolean], [updateMainConnection=boolean], [useTemplate=string])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
timeEditorPanel は、取り消し可能、照会可能、および編集可能です。
タイム エディタ(Time Editor) - ノンリニア アニメーション エディタ| string | コマンドの結果 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
activeClipEditMode(ace)
|
int
|
|
||
|
||||
activeTabRootClipId(atr)
|
boolean
|
|
||
|
||||
activeTabTime(att)
|
boolean
|
|
||
|
||||
activeTabView(atv)
|
int
|
|
||
|
||||
autoFit(af)
|
string
|
|
||
|
||||
autoFitTime(aft)
|
string
|
|
||
|
||||
control(ctl)
|
boolean
|
|
||
|
||||
defineTemplate(dt)
|
string
|
|
||
|
||||
displayActiveKeyTangents(dat)
|
string
|
|
||
|
||||
displayActiveKeys(dak)
|
string
|
|
||
|
||||
displayInfinities(di)
|
string
|
|
||
|
||||
displayKeys(dk)
|
string
|
|
||
|
||||
displayTangents(dtn)
|
string
|
|
||
|
||||
displayValues(dv)
|
string
|
|
||
|
||||
docTag(dtg)
|
string
|
|
||
|
||||
exists(ex)
|
boolean
|
|
||
|
||||
filter(f)
|
string
|
|
||
|
||||
forceMainConnection(fmc)
|
string
|
|
||
|
||||
groupIdForTabView(gtv)
|
int
|
|
||
|
||||
highlightConnection(hlc)
|
string
|
|
||
|
||||
keyingTarget(kt)
|
int
|
|
||
|
||||
layerId(l)
|
int
|
|
||
|
||||
lockMainConnection(lck)
|
boolean
|
|
||
|
||||
lookAt(la)
|
string
|
|
||
|
||||
mainListConnection(mlc)
|
string
|
|
||
|
||||
menu(m)
|
script
|
|
||
|
||||
minClipWidth(mcw)
|
int
|
|
||
|
||||
panel(pnl)
|
string
|
|
||
|
||||
parent(p)
|
string
|
|
||
|
||||
selectionConnection(slc)
|
string
|
|
||
|
||||
setToPrevClipEditMode(spe)
|
boolean
|
|
||
|
||||
snapTime(st)
|
string
|
|
||
|
||||
snapToClip(stc)
|
boolean
|
|
||
|
||||
snapToFrame(stf)
|
boolean
|
|
||
|
||||
snapTolerance(sto)
|
int
|
|
||
|
||||
snapValue(sv)
|
string
|
|
||
|
||||
stateString(sts)
|
boolean
|
|
||
|
||||
tabView(tv)
|
int
|
|
||
|
||||
timeCursor(tc)
|
boolean
|
|
||
|
||||
unParent(up)
|
boolean
|
|
||
|
||||
unlockMainConnection(ulk)
|
boolean
|
|
||
|
||||
updateMainConnection(upd)
|
boolean
|
|
||
|
||||
useTemplate(ut)
|
string
|
|
||
|
||||
import maya.cmds as cmds # Check to see if the "default" time editor has been created # cmds.timeEditorPanel( 'timeEditorPanel1TimeEd', exists=True ) # Open the group(id=1) in local time tab # cmds.timeEditorPanel( 'timeEditorPanel1TimeEd', e=True, tabView=1 ); # Query the current active tab view # cmds.timeEditorPanel( 'timeEditorPanel1TimeEd', q=True, activeTabView=True ) ; # Query the corresponding group given the tab view index # cmds.timeEditorPanel( 'timeEditorPanel1TimeEd', q=True, activeTabTime=True ) ; # Query the corresponding group given the tab view index # cmds.timeEditorPanel( 'timeEditorPanel1TimeEd', groupIdForTabView=1, q=True );