ジャンプ先: 概要. 戻り値. キーワード. 関連. フラグ. Python 例.
timeEditorClip([absolute=boolean], [addAttribute=string], [addObjects=string], [addRelatedKG=boolean], [addSelectedObjects=boolean], [allowShrinking=boolean], [animSource=string], [attribute=string], [audio=string], [children=int], [clipAfter=boolean], [clipBefore=boolean], [clipDataType=boolean], [clipId=int], [clipIdFromNodeName=int], [clipIdFromPath=boolean], [clipNode=boolean], [clipPath=boolean], [copyClip=boolean], [crossfadeMode=int], [crossfadePlug=boolean], [curveTime=time], [defaultGhostRoot=boolean], [drivenAttributes=boolean], [drivenClipsBySource=string], [drivenObjects=boolean], [drivingSources=string], [duplicateClip=boolean], [duration=time], [emptySource=boolean], [endTime=time], [exclusive=boolean], [existingOnly=boolean], [exists=boolean], [explode=int], [exportAllClips=boolean], [exportFbx=string], [extend=boolean], [extendParent=boolean], [ghost=boolean], [ghostRootAdd=string], [ghostRootRemove=string], [group=boolean], [holdEnd=time], [holdStart=time], [importAllFbxTakes=boolean], [importFbx=string], [importFbxTakes=string], [importMayaFile=string], [importOption=string], [importPopulateOption=string], [importTakeDestination=int], [importedContainerNames=string], [includeRoot=boolean], [isContainer=boolean], [listUserGhostRoot=boolean], [loopEnd=time], [loopStart=time], [minClipDuration=boolean], [modifyAnimSource=boolean], [moveClip=time], [mute=boolean], [name=string], [parent=int], [parentClipId=int], [parentGroupId=boolean], [pasteClip=time], [path=string], [populateImportedAnimSources=string], [poseClip=boolean], [preserveAnimationTiming=boolean], [razorClip=time], [recursively=boolean], [remap=[string, string]], [remapSource=[string, string]], [remappedSourceAttrs=boolean], [remappedTargetAttrs=boolean], [removeAttribute=string], [removeClip=boolean], [removeCrossfade=boolean], [removeSceneAnimation=boolean], [removeWeightCurve=boolean], [resetTiming=boolean], [resetTransition=boolean], [ripple=boolean], [rootClipId=int], [rootPath=string], [scaleEnd=time], [scalePivot=time], [scaleStart=time], [setKeyframe=string], [showAnimSourceRemapping=boolean], [speedRamping=int], [startTime=time], [takeList=string], [takesToImport=string], [timeWarp=boolean], [timeWarpCurve=boolean], [timeWarpType=int], [track=string], [tracksNode=boolean], [transition=boolean], [trimEnd=time], [trimStart=time], [truncated=boolean], [type=string], [uniqueAnimSource=boolean], [userGhostRoot=boolean], [weightCurve=boolean], [zeroKeying=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
timeEditorClip は、取り消し可能、照会可能、および編集可能です。
このコマンドは、タイム エディタ(Time Editor)クリップを編集/照会します。| string | 作成されたクリップの名前を返します。 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
absolute(abs)
|
boolean
|
|
||
|
||||
addAttribute(aa)
|
string
|
|
||
|
||||
allowShrinking(eas)
|
boolean
|
|
||
|
||||
animSource(asr)
|
string
|
|
||
|
||||
audio(au)
|
string
|
|
||
|
||||
children(chl)
|
int
|
|
||
|
||||
clipAfter(ca)
|
boolean
|
|
||
|
||||
clipBefore(cb)
|
boolean
|
|
||
|
||||
clipDataType(cdt)
|
boolean
|
|
||
|
||||
clipId(id)
|
int
|
|
||
|
||||
clipIdFromNodeName(idn)
|
int
|
|
||
|
||||
clipIdFromPath(idp)
|
boolean
|
|
||
|
||||
clipNode(cln)
|
boolean
|
|
||
|
||||
clipPath(clp)
|
boolean
|
|
||
|
||||
copyClip(ccl)
|
boolean
|
|
||
|
||||
crossfadeMode(cfm)
|
int
|
|
||
|
||||
crossfadePlug(cfp)
|
boolean
|
|
||
|
||||
curveTime(cvt)
|
time
|
|
||
|
||||
defaultGhostRoot(dgr)
|
boolean
|
|
||
|
||||
drivenAttributes(dat)
|
boolean
|
|
||
|
||||
drivenClipsBySource(dcs)
|
string
|
|
||
|
||||
drivenObjects(dos)
|
boolean
|
|
||
|
||||
drivingSources(dsc)
|
string
|
|
||
|
||||
duplicateClip(dcl)
|
boolean
|
|
||
|
||||
duration(d)
|
time
|
|
||
|
||||
emptySource(ems)
|
boolean
|
|
||
|
||||
endTime(et)
|
time
|
|
||
|
||||
existingOnly(exo)
|
boolean
|
|
||
|
||||
exists(exs)
|
boolean
|
|
||
|
||||
explode(epl)
|
int
|
|
||
|
||||
exportAllClips(eac)
|
boolean
|
|
||
|
||||
exportFbx(ef)
|
string
|
|
||
|
||||
extend(ex)
|
boolean
|
|
||
|
||||
extendParent(exp)
|
boolean
|
|
||
|
||||
ghost(gh)
|
boolean
|
|
||
|
||||
ghostRootAdd(gra)
|
string
|
|
||
|
||||
ghostRootRemove(grr)
|
string
|
|
||
|
||||
group(grp)
|
boolean
|
|
||
|
||||
holdEnd(he)
|
time
|
|
||
|
||||
holdStart(hs)
|
time
|
|
||
|
||||
importTakeDestination(itd)
|
int
|
|
||
|
||||
isContainer(ict)
|
boolean
|
|
||
|
||||
listUserGhostRoot(lug)
|
boolean
|
|
||
|
||||
loopEnd(le)
|
time
|
|
||
|
||||
loopStart(ls)
|
time
|
|
||
|
||||
minClipDuration(mcd)
|
boolean
|
|
||
|
||||
modifyAnimSource(mas)
|
boolean
|
|
||
|
||||
moveClip(mcl)
|
time
|
|
||
|
||||
mute(m)
|
boolean
|
|
||
|
||||
name(n)
|
string
|
|
||
|
||||
parent(p)
|
int
|
|
||
|
||||
parentClipId(pid)
|
int
|
|
||
|
||||
parentGroupId(pgd)
|
boolean
|
|
||
|
||||
pasteClip(pcl)
|
time
|
|
||
|
||||
path(pt)
|
string
|
|
||
|
||||
preserveAnimationTiming(pat)
|
boolean
|
|
||
|
||||
razorClip(rcl)
|
time
|
|
||
|
||||
remap(rmp)
|
[string, string]
|
|
||
|
||||
remapSource(rs)
|
[string, string]
|
|
||
|
||||
remappedSourceAttrs(rms)
|
boolean
|
|
||
|
||||
remappedTargetAttrs(rmt)
|
boolean
|
|
||
|
||||
removeAttribute(ra)
|
string
|
|
||
|
||||
removeClip(rmc)
|
boolean
|
|
||
|
||||
removeCrossfade(rcf)
|
boolean
|
|
||
|
||||
removeWeightCurve(rwc)
|
boolean
|
|
||
|
||||
resetTiming(rt)
|
boolean
|
|
||
|
||||
resetTransition(rtr)
|
boolean
|
|
||
|
||||
ripple(rpl)
|
boolean
|
|
||
|
||||
rootClipId(rti)
|
int
|
|
||
|
||||
rootPath(rpt)
|
string
|
|
||
|
||||
scaleEnd(sce)
|
time
|
|
||
|
||||
scalePivot(scp)
|
time
|
|
||
|
||||
scaleStart(scs)
|
time
|
|
||
|
||||
setKeyframe(k)
|
string
|
|
||
|
||||
speedRamping(src)
|
int
|
|
||
|
||||
startTime(s)
|
time
|
|
||
|
||||
timeWarp(tw)
|
boolean
|
|
||
|
||||
timeWarpCurve(twc)
|
boolean
|
|
||
|
||||
timeWarpType(twt)
|
int
|
|
||
|
||||
track(trk)
|
string
|
|
||
|
||||
tracksNode(trn)
|
boolean
|
|
||
|
||||
transition(tra)
|
boolean
|
|
||
|
||||
trimEnd(tre)
|
time
|
|
||
|
||||
trimStart(trs)
|
time
|
|
||
|
||||
truncated(trc)
|
boolean
|
|
||
|
||||
uniqueAnimSource(uas)
|
boolean
|
|
||
|
||||
userGhostRoot(ugr)
|
boolean
|
|
||
|
||||
weightCurve(wc)
|
boolean
|
|
||
|
||||
zeroKeying(zk)
|
boolean
|
|
||
|
||||
addObjects(ao)
|
string
|
|
||
|
||||
addRelatedKG(akg)
|
boolean
|
|
||
|
||||
addSelectedObjects(aso)
|
boolean
|
|
||
|
||||
attribute(at)
|
string
|
|
||
|
||||
exclusive(exc)
|
boolean
|
|
||
|
||||
importAllFbxTakes(aft)
|
boolean
|
|
||
|
||||
importFbx(fbx)
|
string
|
|
||
|
||||
importFbxTakes(ft)
|
string
|
|
||
|
||||
importMayaFile(mf)
|
string
|
|
||
|
||||
importOption(io)
|
string
|
|
||
|
||||
importPopulateOption(ipo)
|
string
|
|
||
|
||||
importedContainerNames(icn)
|
string
|
|
||
|
||||
includeRoot(irt)
|
boolean
|
|
||
|
||||
populateImportedAnimSources(pia)
|
string
|
|
||
|
||||
poseClip(poc)
|
boolean
|
|
||
|
||||
recursively(rec)
|
boolean
|
|
||
|
||||
removeSceneAnimation(rsa)
|
boolean
|
|
||
|
||||
showAnimSourceRemapping(sar)
|
boolean
|
|
||
|
||||
takeList(tl)
|
string
|
|
||
|
||||
takesToImport(toi)
|
string
|
|
||
|
||||
type(typ)
|
string
|
|
||
|
||||
import maya.cmds as cmds
# move clips 1 and 2
cmds.timeEditorClip(e=1, moveClip=20, clipId=[1,2] )
cmds.timeEditorClip("teClip1", edit=1, aso=1)
cmds.timeEditorClip("teClip1", edit=1, aso=1)
cmds.timeEditorClip("teClip1", edit=1, aso=1, parent=5)
cmds.timeEditorClip("teClip1", edit=1, aso=1, type=['animCurveTL', 'animCurveTA', 'animCurveTT', 'animCurveTU'])