ジャンプ先: 概要. 戻り値. キーワード. 関連. フラグ. MEL 例.
timeEditorClip [-absolute] [-addAttribute string] [-addObjects string] [-addRelatedKG boolean] [-addSelectedObjects] [-allowShrinking] [-animSource string] [-attribute string] [-audio string] [-blendMode int] [-children int] [-clipAfter] [-clipBefore] [-clipDataType] [-clipId int] [-clipIdFromNodeName int] [-clipIdFromPath] [-clipNode] [-clipPath] [-copyClip] [-crossfadeMode int] [-crossfadePlug] [-curveTime time] [-defaultGhostRoot boolean] [-drivenAttributes] [-drivenClipsBySource string] [-drivenObjects] [-drivenRootObjects] [-drivingSources string] [-duplicateClip] [-duration time] [-emptySource] [-endTime time] [-exclusive] [-existingOnly] [-exists] [-explode int] [-exportAllClips] [-exportFbx string] [-extend] [-extendParent] [-ghost boolean] [-ghostRootAdd string] [-ghostRootRemove string] [-group] [-holdEnd time] [-holdStart time] [-importAllFbxTakes] [-importFbx string] [-importFbxTakes string] [-importMayaFile string] [-importOption string] [-importPopulateOption string] [-importTakeDestination int] [-importedContainerNames string] [-includeRoot] [-isContainer] [-listUserGhostRoot] [-loopEnd time] [-loopStart time] [-minClipDuration] [-modifyAnimSource boolean] [-moveClip time] [-mute boolean] [-name string] [-parent int] [-parentClipId int] [-parentGroupId] [-pasteClip time] [-path string] [-populateImportedAnimSources string] [-poseClip boolean] [-preserveAnimationTiming] [-razorClip time] [-recursively] [-remap string string] [-remapNamespace string string] [-remapSource string string] [-remappedSourceAttrs] [-remappedTargetAttrs] [-removeAttribute string] [-removeClip] [-removeCrossfade] [-removeSceneAnimation boolean] [-removeWeightCurve] [-resetTiming] [-resetTransition] [-ripple] [-rootClipId int] [-rootPath string] [-scaleEnd time] [-scalePivot time] [-scaleStart time] [-setKeyframe string] [-showAnimSourceRemapping] [-speedRamping int] [-startTime time] [-takeList string] [-takesToImport string] [-timeWarp] [-timeWarpCurve] [-timeWarpType int] [-track string] [-tracksNode] [-transition] [-trimEnd time] [-trimStart time] [-truncated] [-type string] [-uniqueAnimSource] [-userGhostRoot boolean] [-weightCurve] [-zeroKeying]
timeEditorClip は、取り消し可能、照会可能、および編集可能です。
このコマンドは、タイム エディタ(Time Editor)クリップを編集/照会します。string | 作成されたクリップの名前を返します。 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
---|---|---|---|---|
-absolute(-abs)
|
|
![]() |
||
|
||||
-addAttribute(-aa)
|
string
|
![]() ![]() |
||
|
||||
-allowShrinking(-eas)
|
|
![]() |
||
|
||||
-animSource(-asr)
|
string
|
![]() ![]() ![]() |
||
|
||||
-audio(-au)
|
string
|
![]() |
||
|
||||
-blendMode(-bm)
|
int
|
![]() ![]() |
||
|
||||
-children(-chl)
|
int
|
![]() |
||
|
||||
-clipAfter(-ca)
|
|
![]() |
||
|
||||
-clipBefore(-cb)
|
|
![]() |
||
|
||||
-clipDataType(-cdt)
|
|
![]() |
||
|
||||
-clipId(-id)
|
int
|
![]() ![]() ![]() |
||
|
||||
-clipIdFromNodeName(-idn)
|
int
|
![]() |
||
|
||||
-clipIdFromPath(-idp)
|
|
![]() |
||
|
||||
-clipNode(-cln)
|
|
![]() |
||
|
||||
-clipPath(-clp)
|
|
![]() |
||
|
||||
-copyClip(-ccl)
|
|
![]() |
||
|
||||
-crossfadeMode(-cfm)
|
int
|
![]() ![]() |
||
|
||||
-crossfadePlug(-cfp)
|
|
![]() |
||
|
||||
-curveTime(-cvt)
|
time
|
![]() |
||
|
||||
-defaultGhostRoot(-dgr)
|
boolean
|
![]() ![]() |
||
|
||||
-drivenAttributes(-dat)
|
|
![]() |
||
|
||||
-drivenClipsBySource(-dcs)
|
string
|
![]() |
||
|
||||
-drivenObjects(-dos)
|
|
![]() |
||
|
||||
-drivenRootObjects(-dro)
|
|
![]() |
||
|
||||
-drivingSources(-dsc)
|
string
|
![]() |
||
|
||||
-duplicateClip(-dcl)
|
|
![]() |
||
|
||||
-duration(-d)
|
time
|
![]() ![]() |
||
|
||||
-emptySource(-ems)
|
|
![]() |
||
|
||||
-endTime(-et)
|
time
|
![]() |
||
|
||||
-existingOnly(-exo)
|
|
![]() |
||
|
||||
-exists(-exs)
|
|
![]() |
||
|
||||
-explode(-epl)
|
int
|
![]() |
||
|
||||
-exportAllClips(-eac)
|
|
![]() |
||
|
||||
-exportFbx(-ef)
|
string
|
![]() |
||
|
||||
-extend(-ex)
|
|
![]() |
||
|
||||
-extendParent(-exp)
|
|
![]() |
||
|
||||
-ghost(-gh)
|
boolean
|
![]() ![]() |
||
|
||||
-ghostRootAdd(-gra)
|
string
|
![]() ![]() |
||
|
||||
-ghostRootRemove(-grr)
|
string
|
![]() ![]() |
||
|
||||
-group(-grp)
|
|
![]() |
||
|
||||
-holdEnd(-he)
|
time
|
![]() ![]() |
||
|
||||
-holdStart(-hs)
|
time
|
![]() ![]() |
||
|
||||
-importTakeDestination(-itd)
|
int
|
![]() |
||
|
||||
-isContainer(-ict)
|
|
![]() |
||
|
||||
-listUserGhostRoot(-lug)
|
|
![]() |
||
|
||||
-loopEnd(-le)
|
time
|
![]() ![]() |
||
|
||||
-loopStart(-ls)
|
time
|
![]() ![]() |
||
|
||||
-minClipDuration(-mcd)
|
|
![]() |
||
|
||||
-modifyAnimSource(-mas)
|
boolean
|
![]() ![]() |
||
|
||||
-moveClip(-mcl)
|
time
|
![]() |
||
|
||||
-mute(-m)
|
boolean
|
![]() ![]() |
||
|
||||
-name(-n)
|
string
|
![]() ![]() |
||
|
||||
-parent(-p)
|
int
|
![]() |
||
|
||||
-parentClipId(-pid)
|
int
|
![]() ![]() |
||
|
||||
-parentGroupId(-pgd)
|
|
![]() |
||
|
||||
-pasteClip(-pcl)
|
time
|
![]() |
||
|
||||
-path(-pt)
|
string
|
![]() ![]() |
||
|
||||
-preserveAnimationTiming(-pat)
|
|
![]() |
||
|
||||
-razorClip(-rcl)
|
time
|
![]() |
||
|
||||
-remap(-rmp)
|
string string
|
![]() |
||
|
||||
-remapNamespace(-rns)
|
string string
|
![]() ![]() |
||
|
||||
-remapSource(-rs)
|
string string
|
![]() |
||
|
||||
-remappedSourceAttrs(-rms)
|
|
![]() |
||
|
||||
-remappedTargetAttrs(-rmt)
|
|
![]() |
||
|
||||
-removeAttribute(-ra)
|
string
|
![]() ![]() |
||
|
||||
-removeClip(-rmc)
|
|
![]() |
||
|
||||
-removeCrossfade(-rcf)
|
|
![]() |
||
|
||||
-removeWeightCurve(-rwc)
|
|
![]() ![]() ![]() |
||
|
||||
-resetTiming(-rt)
|
|
![]() |
||
|
||||
-resetTransition(-rtr)
|
|
![]() |
||
|
||||
-ripple(-rpl)
|
|
![]() |
||
|
||||
-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)
|
|
![]() |
||
|
||||
-timeWarpCurve(-twc)
|
|
![]() |
||
|
||||
-timeWarpType(-twt)
|
int
|
![]() ![]() |
||
|
||||
-track(-trk)
|
string
|
![]() ![]() ![]() |
||
|
||||
-tracksNode(-trn)
|
|
![]() |
||
|
||||
-transition(-tra)
|
|
![]() |
||
|
||||
-trimEnd(-tre)
|
time
|
![]() |
||
|
||||
-trimStart(-trs)
|
time
|
![]() |
||
|
||||
-truncated(-trc)
|
|
![]() |
||
|
||||
-uniqueAnimSource(-uas)
|
|
![]() |
||
|
||||
-userGhostRoot(-ugr)
|
boolean
|
![]() ![]() |
||
|
||||
-weightCurve(-wc)
|
|
![]() ![]() ![]() |
||
|
||||
-zeroKeying(-zk)
|
|
![]() |
||
|
||||
-addObjects(-ao)
|
string
|
![]() ![]() ![]() |
||
|
||||
-addRelatedKG(-akg)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-addSelectedObjects(-aso)
|
|
![]() ![]() ![]() |
||
|
||||
-attribute(-at)
|
string
|
![]() ![]() ![]() |
||
|
||||
-exclusive(-exc)
|
|
![]() ![]() |
||
|
||||
-importAllFbxTakes(-aft)
|
|
![]() |
||
|
||||
-importFbx(-fbx)
|
string
|
![]() |
||
|
||||
-importFbxTakes(-ft)
|
string
|
![]() |
||
|
||||
-importMayaFile(-mf)
|
string
|
![]() |
||
|
||||
-importOption(-io)
|
string
|
![]() |
||
|
||||
-importPopulateOption(-ipo)
|
string
|
![]() |
||
|
||||
-importedContainerNames(-icn)
|
string
|
![]() |
||
|
||||
-includeRoot(-irt)
|
|
![]() ![]() |
||
|
||||
-populateImportedAnimSources(-pia)
|
string
|
![]() |
||
|
||||
-poseClip(-poc)
|
boolean
|
![]() |
||
|
||||
-recursively(-rec)
|
|
![]() ![]() |
||
|
||||
-removeSceneAnimation(-rsa)
|
boolean
|
![]() ![]() |
||
|
||||
-showAnimSourceRemapping(-sar)
|
|
![]() |
||
|
||||
-takeList(-tl)
|
string
|
![]() |
||
|
||||
-takesToImport(-toi)
|
string
|
![]() |
||
|
||||
-type(-typ)
|
string
|
![]() ![]() ![]() ![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// Move clips 1 and 2 timeEditorClip -e -moveClip 20 -clipId 1 -clipId 2; // Create new container clip on track 4 of Container_A tracks timeEditorClip -track "Container_A_Tracks:4" ClipNodeName; // Create new container clip on track path timeEditorClip -track "composition1|track1" ClipNodeName; // Populate selected objects with attributes driven by specific types of animation sources timeEditorClip -addSelectedObjects -type animCurveTL -type animCurveTA -track "Composition1:1" "teClip1"; // Populate selected objects and their associated keying groups (normally used for populating complete HIK rig) timeEditorClip -addSelectedObjects -addRelatedKG true -track "Composition1:1" "teClip1"; // Populate selected objects into a newly created container timeEditorClip -track "Container_A_Tracks:0" -addSelectedObjects "ContainerName"; // 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. timeEditorClip -e -track "New_Track:2" -clipId 1 -clipId 2 -clipId 3; // Move a container(s) to a different track by clip path timeEditorClip -e -track "composition1|track1" -path "composition1|track2|clip1" -path "composition1|track2|clip2" -path "composition1|track2|clip3"; // Create a group from specified containers timeEditorClip -track "New_Track:1" -group -clipId 1 -clipId 2 -clipId 3 "GroupName"; // Import animation from selected object into the TimeEditor. timeEditorClip -aso -track "composition1|track1" "container_A" // Return the Anim Source for a given clip ID 1 timeEditorClip -q -animSource 1; // Create a clip from an Anim Source starting at frame 30 into track2 of composition1 timeEditorClip -track "composition1|track2" -animSource "someAnimSourceName" -startTime 30 "Container_B"; // Return the start time of the clip with clip ID 1 timeEditorClip -q -startTime -absolute 1; // Return the duration of the clip with clip ID 1 timeEditorClip -q -duration -absolute 1; // Remap cube 1 translate X attribute to cube 1 translate Y attribute timeEditorClip -e -remapSource cube1.translateY cube1.translateX -clipId 1; timeEditorClip -e -animSource AnimSourceName -clipId 1; // Setup the crossfading mode between 2 clips to linear timeEditorClip -e -crossfadeMode -1 -clipId 1 -clipId 2; // Remove clips with clip ID 1 and 2. timeEditorClip -e -removeClip -clipId 1 -clipId 2;