Strip(bpy_struct)

base class — bpy_struct

subclasses — EffectStrip, ImageStrip, MaskStrip, MetaStrip, MovieClipStrip, MovieStrip, SceneStrip, SoundStrip

class bpy.types.Strip(bpy_struct)

Sequence strip in the sequence editor

blend_alpha

Percentage of how much the strip’s colors affect other strips

Type:

float in [0, 1], default 1.0

blend_type

Method for controlling how the strip combines with other strips

Type:

enum in ['REPLACE', 'CROSS', 'DARKEN', 'MULTIPLY', 'BURN', 'LINEAR_BURN', 'LIGHTEN', 'SCREEN', 'DODGE', 'ADD', 'OVERLAY', 'SOFT_LIGHT', 'HARD_LIGHT', 'VIVID_LIGHT', 'LINEAR_LIGHT', 'PIN_LIGHT', 'DIFFERENCE', 'EXCLUSION', 'SUBTRACT', 'HUE', 'SATURATION', 'COLOR', 'VALUE', 'ALPHA_OVER', 'ALPHA_UNDER', 'GAMMA_CROSS'], default "'ALPHA_OVER'"

channel

Y position of the sequence strip

Type:

int in [1, 128], default 0

color_tag

Color tag for a strip

Type:

enum in Strip Color Items, default "'COLOR_01'"

effect_fader

Custom fade value

Type:

float in [0, 1], default 0.0

frame_duration

The length of the contents of this strip before the handles are applied

Type:

int in [1, 1048574], default 0, (readonly)

frame_final_duration

The length of the contents of this strip after the handles are applied

Type:

int in [1, 1048574], default 0

frame_final_end

End frame displayed in the sequence editor after offsets are applied

Type:

int in [-inf, inf], default 0

frame_final_start

Start frame displayed in the sequence editor after offsets are applied, setting this is equivalent to moving the handle, not the actual start frame

Type:

int in [-inf, inf], default 0

frame_offset_end
Type:

float in [-inf, inf], default 0.0

frame_offset_start
Type:

float in [-inf, inf], default 0.0

frame_start

X position where the strip begins

Type:

float in [-inf, inf], default 0.0

lock

Lock strip so that it cannot be transformed

Type:

boolean, default False

modifiers

Modifiers affecting this strip

Type:

StripModifiers bpy_prop_collection of StripModifier, (readonly)

mute

Disable strip so that it cannot be viewed in the output

Type:

boolean, default False

name
Type:

string, default “”, (never None)

select
Type:

boolean, default False

select_left_handle
Type:

boolean, default False

select_right_handle
Type:

boolean, default False

show_retiming_keys

Show retiming keys, so they can be moved

Type:

boolean, default False

type
Type:

enum in ['IMAGE', 'META', 'SCENE', 'MOVIE', 'MOVIECLIP', 'MASK', 'SOUND', 'CROSS', 'ADD', 'SUBTRACT', 'ALPHA_OVER', 'ALPHA_UNDER', 'GAMMA_CROSS', 'MULTIPLY', 'WIPE', 'GLOW', 'TRANSFORM', 'COLOR', 'SPEED', 'MULTICAM', 'ADJUSTMENT', 'GAUSSIAN_BLUR', 'TEXT', 'COLORMIX'], default "'IMAGE'", (readonly)

use_default_fade

Fade effect using the built-in default (usually makes the transition as long as the effect strip)

Type:

boolean, default False

use_linear_modifiers

Calculate modifiers in linear space instead of sequencer’s space

Type:

boolean, default False

bl_system_properties_get(*, do_create=False)

DEBUG ONLY. Internal access to runtime-defined RNA data storage, intended solely for testing and debugging purposes. Do not access it in regular scripting work, and in particular, do not assume that it contains writable data

Parameters:

do_create (boolean, (optional)) – Ensure that system properties are created if they do not exist yet

Returns:

The system properties root container, or None if there are no system properties stored in this data yet, and its creation was not requested

Return type:

PropertyGroup

strip_elem_from_frame(frame)

Return the strip element from a given frame or None

Parameters:

frame (int in [-1048574, 1048574]) – Frame, The frame to get the strip element from

Returns:

strip element of the current frame

Return type:

StripElement

swap(other)

swap

Parameters:

other (Strip, (never None)) – Other

move_to_meta(meta_sequence)

move_to_meta

Parameters:

meta_sequence (Strip, (never None)) – Destination Meta Strip, Meta to move the strip into

parent_meta()

Parent meta

Returns:

Parent Meta

Return type:

Strip

invalidate_cache(type)

Invalidate cached images for strip and all dependent strips

Parameters:

type (enum in ['RAW', 'COMPOSITE'], (never None)) – Type, Cache Type

split(frame, split_method)

Split Strip

Parameters:

frame (int in [-inf, inf]) – Frame where to split the strip

Returns:

Right side Strip

Return type:

Strip

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