Go to: Synopsis. Return value. Keywords. Related. Flags. Python examples.
timeEditorClipOffset([applyToAllRoots=boolean], [clipId=int], [matchClipId=int], [matchDstTime=time], [matchObj=name], [matchOffsetRot=boolean], [matchOffsetTrans=boolean], [matchPath=string], [matchRotOp=int], [matchSrcTime=time], [matchTransOp=int], [offsetTransform=boolean], [path=string], [resetMatch=int], [resetMatchPath=string], [rootObj=string], [upVectorX=float], [upVectorY=float], [upVectorZ=float])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
timeEditorClipOffset is undoable, queryable, and editable.
This command is used to compute an offset to apply on a source clip in order to
automatically align it to a destination clip at a specified match element.
For this command to work, offset objects must be specified for the character.
None
In query mode, return type is based on queried flag.
timeEditor, nle
timeEditor, timeEditorClip
applyToAllRoots, clipId, matchClipId, matchDstTime, matchObj, matchOffsetRot, matchOffsetTrans, matchPath, matchRotOp, matchSrcTime, matchTransOp, offsetTransform, path, resetMatch, resetMatchPath, rootObj, upVectorX, upVectorY, upVectorZ
Flag can appear in Create mode of command
|
Flag can appear in Edit mode of command
|
Flag can appear in Query mode of command
|
Flag can have multiple arguments, passed either as a tuple or a list.
|
import maya.cmds as cmds
# Match position and rotation
#
cmds.timeEditorClipOffset( clipId=1, matchClipId=2, matchObj="cube", matchSrcTime=45, matchDstTime=45, matchTransOp=0, matchRotOp=1, applyToAllRoots=1 )
# Match position and rotation by clip paths
#
cmds.timeEditorClipOffset( path='composition1|track1|clip1', matchPath='composition1|track1|clip2', matchObj="cube", matchSrcTime=45, matchDstTime=45, matchTransOp=0, matchRotOp=1, applyToAllRoots=1 )