StripsTopLevel(bpy_struct)¶
base class — bpy_struct
- class bpy.types.StripsTopLevel(bpy_struct)¶
Collection of Strips
- new_clip(name, clip, channel, frame_start)¶
Add a new movie clip strip
- new_mask(name, mask, channel, frame_start)¶
Add a new mask strip
- new_scene(name, scene, channel, frame_start)¶
Add a new scene strip
- new_image(name, filepath, channel, frame_start, *, fit_method='ORIGINAL')¶
Add a new image strip
- Parameters:
name (string, (never None)) – Name for the new strip
filepath (string, (never None)) – Filepath to image
channel (int in [1, 128]) – Channel, The channel for the new strip
frame_start (int in [-1048574, 1048574]) – The start frame for the new strip
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 Strip
- Return type:
- new_movie(name, filepath, channel, frame_start, *, fit_method='ORIGINAL')¶
Add a new movie strip
- Parameters:
name (string, (never None)) – Name for the new strip
filepath (string, (never None)) – Filepath to movie
channel (int in [1, 128]) – Channel, The channel for the new strip
frame_start (int in [-1048574, 1048574]) – The start frame for the new strip
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 Strip
- Return type:
- new_sound(name, filepath, channel, frame_start)¶
Add a new sound strip
- Parameters:
name (string, (never None)) – Name for the new strip
filepath (string, (never None)) – Filepath to movie
channel (int in [1, 128]) – Channel, The channel for the new strip
frame_start (int in [-1048574, 1048574]) – The start frame for the new strip
- Returns:
New Strip
- Return type:
- new_meta(name, channel, frame_start)¶
Add a new meta strip
- Parameters:
name (string, (never None)) – Name for the new strip
channel (int in [1, 128]) – Channel, The channel for the new strip
frame_start (int in [-1048574, 1048574]) – The start frame for the new strip
- Returns:
New Strip
- Return type:
- new_effect(name, type, channel, frame_start, *, frame_end=0, seq1=None, seq2=None)¶
Add a new effect strip
- Parameters:
name (string, (never None)) – Name for the new strip
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 strip
channel (int in [1, 128]) – Channel, The channel for the new strip
frame_start (int in [-inf, inf]) – The start frame for the new strip
frame_end (int in [-inf, inf], (optional)) – The end frame for the new strip
seq1 (
Strip
, (optional)) – Strip 1 for effectseq2 (
Strip
, (optional)) – Strip 2 for effect
- Returns:
New Strip
- Return type:
- 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