Go to: Synopsis. Return value. Keywords. Related. Flags. Python examples.

Synopsis

sequenceManager([addSequencerAudio=string], [attachSequencerAudio=string], [currentShot=string], [currentTime=time], [listSequencerAudio=string], [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.

Return value

None

In query mode, return type is based on queried flag.

Keywords

shot, sequence

Related

shot

Flags

addSequencerAudio, attachSequencerAudio, currentShot, currentTime, listSequencerAudio, modelPanel, node, writableSequencer
Long name (short name) Argument types Properties
currentTime(ct) time createquery
Set the current sequence time
writableSequencer(ws) string query
Get the writable sequencer node. Create it if it doesn't exist.
currentShot(cs) string query
Returns the shot that is being used at the current sequence time.
modelPanel(mp) string createquery
Sets a dedicated modelPanel to be used as the panel that the sequencer will control.
node(nd) string query
Returns the SequenceManager node, of which there is only ever one.
addSequencerAudio(asa) string create
Add an audio clip to the sequencer by specifying a filename
attachSequencerAudio(ata) string create
Add an audio clip to the sequencer by specifying an audio node
listSequencerAudio(lsa) string create
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.

Python examples

import maya.cmds as cmds

# Create a new scene segment.
#
cmds.newSceneSegment( 'sceneOne' )