Go to: Synopsis. Return value. Keywords.
Related. Flags.
Python examples.
sequenceManager([addSequencerAudio=string],
[attachSequencerAudio=string],
[currentShot=string],
[currentTime=time], [listSequencerAudio=string],
[listShots=boolean], [modelPanel=string], [node=string], [writableSequencer=string])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
sequenceManager is undoable, queryable, and editable.
The sequenceManager command manages sequences, shots, and their
related scenes.
None
In query mode, return type is based on queried flag.
shot, sequence
shot
addSequencerAudio, attachSequencerAudio, currentShot, currentTime, listSequencerAudio, listShots, modelPanel, node,
writableSequencer
Long name (short name) |
Argument types |
Properties |
currentTime(ct) |
time |
|
|
Set the current sequence time |
|
writableSequencer(ws) |
string |
|
|
Get the writable sequencer node. Create it if it doesn't
exist. |
|
listShots(lsh) |
boolean |
|
|
List all the currently defined shots across all scene
segments |
|
currentShot(cs) |
string |
|
|
Returns the shot that is being used at the current sequence
time. |
|
modelPanel(mp) |
string |
|
|
Sets a dedicated modelPanel to be used as the panel that the
sequencer will control. |
|
node(nd) |
string |
|
|
Returns the SequenceManager node, of which there is only ever
one. |
|
addSequencerAudio(asa) |
string |
|
|
Add an audio clip to the sequencer by specifying a
filename |
|
attachSequencerAudio(ata) |
string |
|
|
Add an audio clip to the sequencer by specifying an audio
node |
|
listSequencerAudio(lsa) |
string |
|
|
List the audio clips added to the sequencer |
|
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
// Get the current Maya time, based on the Sequence time
cmds.sequenceManager(q=True, currentTime=True);