Sequence(bpy_struct)#

base class — bpy_struct

subclasses — EffectSequence, ImageSequence, MaskSequence, MetaSequence, MovieClipSequence, MovieSequence, SceneSequence, SoundSequence

class bpy.types.Sequence(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 0.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’, ‘OVER_DROP’], default ‘REPLACE’

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:

SequenceModifiers bpy_prop_collection of SequenceModifier, (readonly)

mute#

Disable strip so that it cannot be viewed in the output

Type:

boolean, default False

name#
Type:

string, default “”, (never None)

override_cache_settings#

Override global cache settings

Type:

boolean, default False

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’, ‘OVER_DROP’, ‘WIPE’, ‘GLOW’, ‘TRANSFORM’, ‘COLOR’, ‘SPEED’, ‘MULTICAM’, ‘ADJUSTMENT’, ‘GAUSSIAN_BLUR’, ‘TEXT’, ‘COLORMIX’], default ‘IMAGE’, (readonly)

use_cache_composite#

Cache intermediate composited images, for faster tweaking of stacked strips at the cost of memory usage

Type:

boolean, default False

use_cache_preprocessed#

Cache preprocessed images, for faster tweaking of effects at the cost of memory usage

Type:

boolean, default False

use_cache_raw#

Cache raw images read from disk, for faster tweaking of strip parameters at the cost of memory usage

Type:

boolean, default False

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

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:

SequenceElement

swap(other)#

swap

Parameters:

other (Sequence, (never None)) – Other

move_to_meta(meta_sequence)#

move_to_meta

Parameters:

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

parent_meta()#

Parent meta

Returns:

Parent Meta

Return type:

Sequence

invalidate_cache(type)#

Invalidate cached images for strip and all dependent strips

Parameters:

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

split(frame, split_method)#

Split Sequence

Parameters:

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

Returns:

Right side Sequence

Return type:

Sequence

classmethod bl_rna_get_subclass(id, default=None)#
Parameters:

id (string) – 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 (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties#

Inherited Functions#

References#