SpaceOutliner(Space)

base classes — bpy_struct, Space

class bpy.types.SpaceOutliner(Space)

Outliner space data

display_mode

Type of information to display

  • SCENES Scenes, Display scenes and their view layers, collections and objects.

  • VIEW_LAYER View Layer, Display collections and objects in the view layer.

  • SEQUENCE Sequence, Display sequence data-blocks.

  • LIBRARIES Blender File, Display data of current file and linked libraries.

  • DATA_API Data API, Display low level Blender data and its properties.

  • ORPHAN_DATA Orphan Data, Display data-blocks which are unused and/or will be lost when the file is reloaded.

Type

enum in [‘SCENES’, ‘VIEW_LAYER’, ‘SEQUENCE’, ‘LIBRARIES’, ‘DATA_API’, ‘ORPHAN_DATA’], default ‘SCENES’

filter_id_type

Data-block type to show

Type

enum in [‘ACTION’, ‘ARMATURE’, ‘BRUSH’, ‘CAMERA’, ‘CACHEFILE’, ‘CURVE’, ‘FONT’, ‘GREASEPENCIL’, ‘COLLECTION’, ‘IMAGE’, ‘KEY’, ‘LIGHT’, ‘LIBRARY’, ‘LINESTYLE’, ‘LATTICE’, ‘MASK’, ‘MATERIAL’, ‘META’, ‘MESH’, ‘MOVIECLIP’, ‘NODETREE’, ‘OBJECT’, ‘PAINTCURVE’, ‘PALETTE’, ‘PARTICLE’, ‘LIGHT_PROBE’, ‘SCENE’, ‘SOUND’, ‘SPEAKER’, ‘TEXT’, ‘TEXTURE’, ‘VOLUME’, ‘WINDOWMANAGER’, ‘WORLD’, ‘WORKSPACE’], default ‘ACTION’

filter_state
  • ALL All, Show all objects in the view layer.

  • VISIBLE Visible, Show visible objects.

  • HIDDEN Hidden, Show hidden objects.

  • SELECTED Selected, Show selected objects.

  • ACTIVE Active, Show only the active object.

Type

enum in [‘ALL’, ‘VISIBLE’, ‘HIDDEN’, ‘SELECTED’, ‘ACTIVE’], default ‘ALL’

filter_text

Live search filtering string

Type

string, default “”, (never None)

show_restrict_column_enable

Exclude from view layer

Type

boolean, default False

show_restrict_column_hide

Temporarily hide in viewport

Type

boolean, default False

show_restrict_column_holdout

Holdout

Type

boolean, default False

show_restrict_column_indirect_only

Indirect only

Type

boolean, default False

show_restrict_column_render

Globally disable in renders

Type

boolean, default False

show_restrict_column_select

Selectable

Type

boolean, default False

show_restrict_column_viewport

Globally disable in viewports

Type

boolean, default False

use_filter_case_sensitive

Only use case sensitive matches of search string

Type

boolean, default False

use_filter_children

Show children

Type

boolean, default False

use_filter_collection

Show collections

Type

boolean, default False

use_filter_complete

Only use complete matches of search string

Type

boolean, default False

use_filter_id_type

Show only data-blocks of one type

Type

boolean, default False

use_filter_object

Show objects

Type

boolean, default False

use_filter_object_armature

Show armature objects

Type

boolean, default False

use_filter_object_camera

Show camera objects

Type

boolean, default False

use_filter_object_content

Show what is inside the objects elements

Type

boolean, default False

use_filter_object_empty

Show empty objects

Type

boolean, default False

use_filter_object_light

Show light objects

Type

boolean, default False

use_filter_object_mesh

Show mesh objects

Type

boolean, default False

use_filter_object_others

Show curves, lattices, light probes, fonts, …

Type

boolean, default False

use_sort_alpha
Type

boolean, default False

use_sync_select

Sync outliner selection with other editors

Type

boolean, default False

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