ジャンプ先: 概要. 戻り値. キーワード. 関連. フラグ. Python 例.
timeEditorClip([absolute=boolean], [addAttribute=string], [addObjects=string], [addRelatedKG=boolean], [addSelectedObjects=boolean], [allowShrinking=boolean], [animSource=string], [attribute=string], [audio=string], [blendMode=int], [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], [drivenRootObjects=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]], [remapNamespace=[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
|
![]() |
||
|
||||
blendMode(bm)
|
int
|
![]() ![]() |
||
|
||||
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
|
![]() |
||
|
||||
drivenRootObjects(dro)
|
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]
|
![]() |
||
|
||||
remapNamespace(rns)
|
[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(edit=True, moveClip=20, clipId=[1,2]) # Create new container clip on track 4 of Container_A tracks cmds.timeEditorClip("ClipNodeName", track="Container_A_Tracks:4") # Create new container clip on track path cmds.timeEditorClip("ClipNodeName", track="composition1|track1") # Populate selected objects with attributes driven by specific types of animation sources cmds.timeEditorClip("teClip1", addSelectedObjects=True, type=["animCurveTL","animCurveTA"], track="Composition1:1") # Populate selected objects and their associated keying groups (normally used for populating complete HIK rig) cmds.timeEditorClip("teClip1", addSelectedObjects=True, addRelatedKG=True, track="Composition1:1") # Populate selected objects into a newly created container cmds.timeEditorClip("ContainerName", track="Container_A_Tracks:0", addSelectedObjects=True) # Move a container(s) to a different track # The "New_Track:2" has the same format as when creating a new clip, # where "New_Track" is the TimeEditor "Tracks node" and "2" is the track index in that node. # A "Tracks" node maintains a list of tracks at a given level in the TimeEditor hierarchy # and is either a composition or a group clip. cmds.timeEditorClip(edit=True, track="New_Track:2", clipId=[1,2,3]) # Move a container(s) to a different track by clip path cmds.timeEditorClip(edit=True, track="composition1|track1", path=["composition1|track2|clip1","composition1|track2|clip2","composition1|track2|clip3"]) # Create a group from specified containers cmds.timeEditorClip("GroupName", track="New_Track:1", group=True, clipId=[1,2,3]) # Import animation from selected object into the TimeEditor. cmds.timeEditorClip("container_A", aso=True, track="composition1|track1") # Return the Anim Source for a given clip ID 1 cmds.timeEditorClip(1, query=True, animSource=True) # Create a clip from an Anim Source starting at frame 30 into track2 of composition1 cmds.timeEditorClip("Container_B", track="composition1|track2", animSource="someAnimSourceName", startTime=30) # Return the start time of the clip with clip ID 1 cmds.timeEditorClip(1, query=True, startTime=True, absolute=True) # Return the duration of the clip with clip ID 1 cmds.timeEditorClip(1, query=True, duration=True, absolute=True) # Remap cube 1 translate X attribute to cube 1 translate Y attribute cmds.timeEditorClip(edit=True, remapSource=["cube1.translateY", "cube1.translateX"], clipId=1) cmds.timeEditorClip(edit=True, animSource="AnimSourceName", clipId=1) # Setup the crossfading mode between 2 clips to linear cmds.timeEditorClip(edit=True, crossfadeMode=-1, clipId=[1,2]) # Remove clips with clip ID 1 and 2. cmds.timeEditorClip(edit=True, removeClip=True, clipId=[1,2])