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 Add an audio clip to the sequencer by specifying a filename attachSequencerAudio / ata unicode Add an audio clip to the sequencer by specifying an audio node currentShot / cs unicode Returns the shot that is being used at the current sequence time. currentTime / ct time Set the current sequence time listSequencerAudio / lsa unicode List the audio clips added to the sequencer listShots / lsh bool List all the currently defined shots across all scene segments modelPanel / mp unicode Sets a dedicated modelPanel to be used as the panel that the sequencer will control. node / nd unicode Returns the SequenceManager node, of which there is only ever one. writableSequencer / ws unicode Get the writable sequencer node. Create it if it doesn’t exist. Flag can have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.sequenceManager
Example:
import pymel.core as pm // Get the current Maya time, based on the Sequence time pm.sequenceManager(q=True, currentTime=True);