user: How do I use Strip(bpy_struct) in Blender? Include parameters, examples, warnings and best practices.

assistant: # Strip(bpy_struct)

base class — [`bpy_struct`](bpy.types.bpy_struct.html#bpy.types.bpy_struct "bpy.types.bpy_struct")

subclasses —
[`EffectStrip`](bpy.types.EffectStrip.html#bpy.types.EffectStrip "bpy.types.EffectStrip"), [`ImageStrip`](bpy.types.ImageStrip.html#bpy.types.ImageStrip "bpy.types.ImageStrip"), [`MaskStrip`](bpy.types.MaskStrip.html#bpy.types.MaskStrip "bpy.types.MaskStrip"), [`MetaStrip`](bpy.types.MetaStrip.html#bpy.types.MetaStrip "bpy.types.MetaStrip"), [`MovieClipStrip`](bpy.types.MovieClipStrip.html#bpy.types.MovieClipStrip "bpy.types.MovieClipStrip"), [`MovieStrip`](bpy.types.MovieStrip.html#bpy.types.MovieStrip "bpy.types.MovieStrip"), [`SceneStrip`](bpy.types.SceneStrip.html#bpy.types.SceneStrip "bpy.types.SceneStrip"), [`SoundStrip`](bpy.types.SoundStrip.html#bpy.types.SoundStrip "bpy.types.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](bpy_types_enum_items/strip_color_items.html#rna-enum-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.types.StripModifiers.html#bpy.types.StripModifiers "bpy.types.StripModifiers") [`bpy_prop_collection`](bpy.types.bpy_prop_collection.html#bpy.types.bpy_prop_collection "bpy.types.bpy_prop_collection") of [`StripModifier`](bpy.types.StripModifier.html#bpy.types.StripModifier "bpy.types.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'`, `'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`](bpy.types.PropertyGroup.html#bpy.types.PropertyGroup "bpy.types.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`](bpy.types.StripElement.html#bpy.types.StripElement "bpy.types.StripElement")

    swap(*other*)
    :   swap

        Parameters:
        :   **other** ([`Strip`](#bpy.types.Strip "bpy.types.Strip"), (never None)) – Other

    move_to_meta(*meta_sequence*)
    :   move_to_meta

        Parameters:
        :   **meta_sequence** ([`Strip`](#bpy.types.Strip "bpy.types.Strip"), (never None)) – Destination Meta Strip, Meta to move the strip into

    parent_meta()
    :   Parent meta

        Returns:
        :   Parent Meta

        Return type:
        :   [`Strip`](#bpy.types.Strip "bpy.types.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*, *\**, *ignore_connections=False*)
    :   Split Strip

        Parameters:
        :   - **frame** (*int in* *[**-inf**,* *inf**]*) – Frame where to split the strip
            - **ignore_connections** (*boolean**,* *(**optional**)*) – Don’t propagate split to connected strips

        Returns:
        :   Right side Strip

        Return type:
        :   [`Strip`](#bpy.types.Strip "bpy.types.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`](bpy.types.Struct.html#bpy.types.Struct "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](#bpy.types.Strip.type "bpy.types.Strip.type")