SpaceSequenceEditor(Space)

base classes — bpy_struct, Space

class bpy.types.SpaceSequenceEditor(Space)

Sequence editor space data

display_channel

The channel number shown in the image preview. 0 is the result of all strips combined

Type

int in [-5, 32], default 0

display_mode

View mode to use for displaying sequencer output

Type

enum in [‘IMAGE’, ‘WAVEFORM’, ‘VECTOR_SCOPE’, ‘HISTOGRAM’], default ‘IMAGE’

grease_pencil

Grease Pencil data for this Preview region

Type

GreasePencil

overlay_type

Overlay draw type

  • RECTANGLE Rectangle, Show rectangle area overlay.

  • REFERENCE Reference, Show reference frame only.

  • CURRENT Current, Show current frame only.

Type

enum in [‘RECTANGLE’, ‘REFERENCE’, ‘CURRENT’], default ‘RECTANGLE’

preview_channels

Channels of the preview to draw

  • COLOR_ALPHA Color and Alpha, Display image with RGB colors and alpha transparency.

  • COLOR Color, Display image with RGB colors.

Type

enum in [‘COLOR_ALPHA’, ‘COLOR’], default ‘COLOR’

proxy_render_size

Display preview using full resolution or different proxy resolutions

Type

enum in [‘NONE’, ‘SCENE’, ‘PROXY_25’, ‘PROXY_50’, ‘PROXY_75’, ‘PROXY_100’, ‘FULL’], default ‘SCENE’

show_annotation

Show annotations for this view

Type

boolean, default False

show_backdrop

Display result under strips

Type

boolean, default False

show_fcurves

Display strip opacity/volume curve

Type

boolean, default False

show_frames

Display frames rather than seconds

Type

boolean, default False

show_markers

If any exists, show markers in a separate row at the bottom of the editor

Type

boolean, default False

show_metadata

Show metadata of first visible strip

Type

boolean, default False

show_overexposed

Show overexposed areas with zebra stripes

Type

int in [0, 110], default 0

show_region_hud
Type

boolean, default False

show_region_tool_header
Type

boolean, default False

show_region_toolbar
Type

boolean, default False

show_region_ui
Type

boolean, default False

show_safe_areas

Show TV title safe and action safe areas in preview

Type

boolean, default False

show_safe_center

Show safe areas to fit content in a different aspect ratio

Type

boolean, default False

show_seconds

Show timing in seconds not frames

Type

boolean, default False

show_separate_color

Separate color channels in preview

Type

boolean, default False

show_strip_duration
Type

boolean, default False

show_strip_name
Type

boolean, default False

show_strip_offset

Display strip in/out offsets

Type

boolean, default False

show_strip_overlay
Type

boolean, default False

show_strip_source

Display path to source file, or name of source datablock

Type

boolean, default False

use_marker_sync

Transform markers as well as strips

Type

boolean, default False

use_zoom_to_fit

Automatically zoom preview image to make it fully fit the region

Type

boolean, default False

view_type

Type of the Sequencer view (sequencer, preview or both)

Type

enum in [‘SEQUENCER’, ‘PREVIEW’, ‘SEQUENCER_PREVIEW’], default ‘SEQUENCER’

waveform_display_type

How Waveforms are drawn

  • NO_WAVEFORMS Waveforms Off, No waveforms drawn for any sound strips.

  • ALL_WAVEFORMS Waveforms On, Waveforms drawn for all sound strips.

  • DEFAULT_WAVEFORMS Use Strip Option, Waveforms drawn according to strip setting.

Type

enum in [‘NO_WAVEFORMS’, ‘ALL_WAVEFORMS’, ‘DEFAULT_WAVEFORMS’], default ‘DEFAULT_WAVEFORMS’

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

draw_handler_add(callback, args, region_type, draw_type)

Add a new draw handler to this space type. It will be called every time the specified region in the space type will be drawn. Note: All arguments are positional only for now.

Parameters
  • callback (function) – A function that will be called when the region is drawn. It gets the specified arguments as input.

  • args (tuple) – Arguments that will be passed to the callback.

  • region_type (str) – The region type the callback draws in; usually WINDOW. (bpy.types.Region.type)

  • draw_type (str) – Usually POST_PIXEL for 2D drawing and POST_VIEW for 3D drawing. In some cases PRE_VIEW can be used. BACKDROP can be used for backdrops in the node editor.

Returns

Handler that can be removed later on.

Return type

object

draw_handler_remove(handler, region_type)

Remove a draw handler that was added previously.

Parameters
  • handler (object) – The draw handler that should be removed.

  • region_type (str) – Region type the callback was added to.

Inherited Properties

Inherited Functions