SequencesTopLevel(bpy_struct)¶
base class — bpy_struct
- class bpy.types.SequencesTopLevel(bpy_struct)¶
Collection of Sequences
- new_clip(name, clip, channel, frame_start)¶
Add a new movie clip sequence
- Parameters:
name (string, (never None)) – Name for the new sequence
clip (
MovieClip
, (never None)) – Movie clip to addchannel (int in [1, 128]) – Channel, The channel for the new sequence
frame_start (int in [-1048574, 1048574]) – The start frame for the new sequence
- Returns:
New Sequence
- Return type:
- new_mask(name, mask, channel, frame_start)¶
Add a new mask sequence
- Parameters:
name (string, (never None)) – Name for the new sequence
mask (
Mask
, (never None)) – Mask to addchannel (int in [1, 128]) – Channel, The channel for the new sequence
frame_start (int in [-1048574, 1048574]) – The start frame for the new sequence
- Returns:
New Sequence
- Return type:
- new_scene(name, scene, channel, frame_start)¶
Add a new scene sequence
- Parameters:
name (string, (never None)) – Name for the new sequence
scene (
Scene
, (never None)) – Scene to addchannel (int in [1, 128]) – Channel, The channel for the new sequence
frame_start (int in [-1048574, 1048574]) – The start frame for the new sequence
- Returns:
New Sequence
- Return type:
- new_image(name, filepath, channel, frame_start, *, fit_method='ORIGINAL')¶
Add a new image sequence
- Parameters:
name (string, (never None)) – Name for the new sequence
filepath (string, (never None)) – Filepath to image
channel (int in [1, 128]) – Channel, The channel for the new sequence
frame_start (int in [-1048574, 1048574]) – The start frame for the new sequence
fit_method (enum in ['FIT', 'FILL', 'STRETCH', 'ORIGINAL'], (optional, optional argument)) –
Image Fit Method
FIT
Scale to Fit – Scale image so fits in preview.FILL
Scale to Fill – Scale image so it fills preview completely.STRETCH
Stretch to Fill – Stretch image so it fills preview.ORIGINAL
Use Original Size – Don’t scale the image.
- Returns:
New Sequence
- Return type:
- new_movie(name, filepath, channel, frame_start, *, fit_method='ORIGINAL')¶
Add a new movie sequence
- Parameters:
name (string, (never None)) – Name for the new sequence
filepath (string, (never None)) – Filepath to movie
channel (int in [1, 128]) – Channel, The channel for the new sequence
frame_start (int in [-1048574, 1048574]) – The start frame for the new sequence
fit_method (enum in ['FIT', 'FILL', 'STRETCH', 'ORIGINAL'], (optional, optional argument)) –
Image Fit Method
FIT
Scale to Fit – Scale image so fits in preview.FILL
Scale to Fill – Scale image so it fills preview completely.STRETCH
Stretch to Fill – Stretch image so it fills preview.ORIGINAL
Use Original Size – Don’t scale the image.
- Returns:
New Sequence
- Return type:
- new_sound(name, filepath, channel, frame_start)¶
Add a new sound sequence
- Parameters:
name (string, (never None)) – Name for the new sequence
filepath (string, (never None)) – Filepath to movie
channel (int in [1, 128]) – Channel, The channel for the new sequence
frame_start (int in [-1048574, 1048574]) – The start frame for the new sequence
- Returns:
New Sequence
- Return type:
- new_meta(name, channel, frame_start)¶
Add a new meta sequence
- Parameters:
name (string, (never None)) – Name for the new sequence
channel (int in [1, 128]) – Channel, The channel for the new sequence
frame_start (int in [-1048574, 1048574]) – The start frame for the new sequence
- Returns:
New Sequence
- Return type:
- new_effect(name, type, channel, frame_start, *, frame_end=0, seq1=None, seq2=None)¶
Add a new effect sequence
- Parameters:
name (string, (never None)) – Name for the new sequence
type (enum in ['CROSS', 'ADD', 'SUBTRACT', 'ALPHA_OVER', 'ALPHA_UNDER', 'GAMMA_CROSS', 'MULTIPLY', 'OVER_DROP', 'WIPE', 'GLOW', 'TRANSFORM', 'COLOR', 'SPEED', 'MULTICAM', 'ADJUSTMENT', 'GAUSSIAN_BLUR', 'TEXT', 'COLORMIX']) – Type, type for the new sequence
channel (int in [1, 128]) – Channel, The channel for the new sequence
frame_start (int in [-inf, inf]) – The start frame for the new sequence
frame_end (int in [-inf, inf], (optional)) – The end frame for the new sequence
seq1 (
Sequence
, (optional)) – Sequence 1 for effectseq2 (
Sequence
, (optional)) – Sequence 2 for effect
- Returns:
New Sequence
- Return type:
- remove(sequence)¶
Remove a Sequence
- Parameters:
sequence (
Sequence
, (never None)) – Sequence to remove
- classmethod bl_rna_get_subclass(id, default=None)¶
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The RNA type or default when not found.
- Return type:
bpy.types.Struct
subclass
- classmethod bl_rna_get_subclass_py(id, default=None)¶
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The class or default when not found.
- Return type:
type