pymel.core.animation.sequenceManager

sequenceManager(*args, **kwargs)

The sequenceManager command manages sequences, shots, and their related scenes. In query mode, return type is based on queried flag.

Flags:
Long name (short name) Argument Types Properties
addSequencerAudio (asa) unicode ../../../_images/create.gif
 
Add an audio clip to the sequencer by specifying a filename
attachSequencerAudio (ata) unicode ../../../_images/create.gif
 
Add an audio clip to the sequencer by specifying an audio node
currentShot (cs) unicode ../../../_images/query.gif
 
Returns the shot that is being used at the current sequence time.
currentTime (ct) time ../../../_images/create.gif ../../../_images/query.gif
 
Set the current sequence time
listSequencerAudio (lsa) unicode ../../../_images/create.gif
 
List the audio clips added to the sequencerFlag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.
listShots (lsh) bool ../../../_images/create.gif
 
List all the currently defined shots across all scene segments
modelPanel (mp) unicode ../../../_images/create.gif ../../../_images/query.gif
 
Sets a dedicated modelPanel to be used as the panel that the sequencer will control.
node (nd) unicode ../../../_images/query.gif
 
Returns the SequenceManager node, of which there is only ever one.
writableSequencer (ws) unicode ../../../_images/query.gif
 
Get the writable sequencer node. Create it if it doesn’t exist.

Derived from mel command maya.cmds.sequenceManager

Example:

import pymel.core as pm

import maya.cmds as cmds

// Get the current Maya time, based on the Sequence time
pm.sequenceManager(q=True, currentTime=True);

Previous topic

pymel.core.animation.sculpt

Next topic

pymel.core.animation.setCurrentTime

Core

Core Modules

Other Modules

This Page