StripsMeta(bpy_struct)

base class — bpy_struct

class bpy.types.StripsMeta(bpy_struct)

Collection of Strips

new_clip(name, clip, channel, frame_start)

Add a new movie clip strip

Parameters:
  • name (string, (never None)) – Name for the new strip

  • clip (MovieClip, (never None)) – Movie clip to add

  • 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:

Strip

new_mask(name, mask, channel, frame_start)

Add a new mask strip

Parameters:
  • name (string, (never None)) – Name for the new strip

  • mask (Mask, (never None)) – Mask to add

  • 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:

Strip

new_scene(name, scene, channel, frame_start)

Add a new scene strip

Parameters:
  • name (string, (never None)) – Name for the new strip

  • scene (Scene, (never None)) – Scene to add

  • 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:

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:

Strip

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:

Strip

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:

Strip

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:

Strip

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 effect

  • seq2 (Strip, (optional)) – Strip 2 for effect

Returns:

New Strip

Return type:

Strip

remove(sequence)

Remove a Strip

Parameters:

sequence (Strip, (never None)) – Strip 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

Inherited Properties

Inherited Functions

References