Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.
timeEditorClipLayer [-addAttribute string] [-addLayer string] [-addObject string] [-allLayers] [-attribute string] [-attributeKeyable string] [-clipId int] [-index int] [-keySiblings] [-layerId int] [-layerName string] [-mode int] [-mute boolean] [-name] [-path string] [-removeAttribute string] [-removeLayer] [-removeObject string] [-resetSolo] [-setKeyframe] [-solo boolean] [-zeroKeying]
timeEditorClipLayer is undoable, queryable, and editable.
Time Editor clip layers commandsstring | Command result |
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-addAttribute(-aa)
|
string
|
|||
|
||||
-addLayer(-al)
|
string
|
|||
|
||||
-addObject(-ao)
|
string
|
|||
|
||||
-allLayers(-all)
|
|
|||
|
||||
-attribute(-a)
|
string
|
|||
|
||||
-attributeKeyable(-ak)
|
string
|
|||
|
||||
-clipId(-cid)
|
int
|
|||
|
||||
-index(-idx)
|
int
|
|||
|
||||
-keySiblings(-ks)
|
|
|||
|
||||
-layerId(-lid)
|
int
|
|||
|
||||
-layerName(-ln)
|
string
|
|||
|
||||
-mode(-m)
|
int
|
|||
|
||||
-mute(-mu)
|
boolean
|
|||
|
||||
-name(-n)
|
|
|||
|
||||
-path(-pt)
|
string
|
|||
|
||||
-removeAttribute(-ra)
|
string
|
|||
|
||||
-removeLayer(-rl)
|
|
|||
|
||||
-removeObject(-ro)
|
string
|
|||
|
||||
-resetSolo(-rs)
|
|
|||
|
||||
-setKeyframe(-k)
|
|
|||
|
||||
-solo(-sl)
|
boolean
|
|||
|
||||
-zeroKeying(-zk)
|
|
|||
|
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 be used more than once in a command. |
// Add an additive clip layer by clip ID timeEditorClipLayer -e -clipId 1 -addLayer "Layer A" -mode 0; // Add an additive clip layer by clip path timeEditorClipLayer -e -path "Composition1|track1|Group|track1|Clip1" -addLayer "Layer B" -mode 0; // Add an attribute to the given layer by clip ID and layer ID timeEditorClipLayer -e -clipId 1 -addAttribute "cube.tx" -layerId 1; // Add an attribute to the given layer path timeEditorClipLayer -e -path "Composition1|track1|Clip1|Layer1" -addAttribute "cube.tx"; // Set key in the given layer select cube; move -r 10 0 0; timeEditorClipLayer -e -setKeyframe -attribute "cube.tx" -clipId 1 -layerId 1; // Remove layer attribute timeEditorClipLayer -e -clipId 1 -removeAttribute "cube.tx" -layerId 1; // Query the layer name timeEditorClipLayer -clipId 1 -layerId 1 -q -layerName; // Remove the specified layer by clip ID and layer ID timeEditorClipLayer -e -clipId 1 -removeLayer -layerId 1; // Remove the specified layer by layer path timeEditorClipLayer -e -path "Composition1|track1|Clip1|Layer1" -removeLayer;