Outliner Operators

bpy.ops.outliner.action_set(action='')

Change the active action used

Parameters:action (enum in [], (optional)) – Action
bpy.ops.outliner.animdata_operation(type='SET_ACT')

Undocumented (contribute)

Parameters:type (enum in [‘SET_ACT’, ‘CLEAR_ACT’, ‘REFRESH_DRIVERS’, ‘CLEAR_DRIVERS’], (optional)) – Animation Operation
bpy.ops.outliner.data_operation(type='SELECT')

Undocumented (contribute)

Parameters:type (enum in [‘SELECT’, ‘DESELECT’, ‘HIDE’, ‘UNHIDE’], (optional)) – Data Operation
bpy.ops.outliner.drivers_add_selected()

Add drivers to selected items

bpy.ops.outliner.drivers_delete_selected()

Delete drivers assigned to selected items

bpy.ops.outliner.expanded_toggle()

Expand/Collapse all items

bpy.ops.outliner.group_operation(type='UNLINK')

Undocumented (contribute)

Parameters:type (enum in [‘UNLINK’, ‘LOCAL’, ‘LINK’, ‘TOGVIS’, ‘TOGSEL’, ‘TOGREN’, ‘RENAME’], (optional)) – Group Operation
bpy.ops.outliner.id_operation(type='UNLINK')

Undocumented (contribute)

Parameters:type (enum in [‘UNLINK’, ‘LOCAL’, ‘SINGLE’, ‘ADD_FAKE’, ‘CLEAR_FAKE’, ‘RENAME’], (optional)) –

ID data Operation

  • UNLINK Unlink.
  • LOCAL Make Local.
  • SINGLE Make Single User.
  • ADD_FAKE Add Fake User, Ensure datablock gets saved even if it isn’t in use (e.g. for motion and material libraries).
  • CLEAR_FAKE Clear Fake User.
  • RENAME Rename.
bpy.ops.outliner.item_activate(extend=True)

Handle mouse clicks to activate/select items

Parameters:extend (boolean, (optional)) – Extend, Extend selection for activation
bpy.ops.outliner.item_openclose(all=True)

Toggle whether item under cursor is enabled or closed

Parameters:all (boolean, (optional)) – All, Close or open all items
bpy.ops.outliner.item_rename()

Rename item under cursor

bpy.ops.outliner.keyingset_add_selected()

Add selected items (blue-grey rows) to active Keying Set

bpy.ops.outliner.keyingset_remove_selected()

Remove selected items (blue-grey rows) from active Keying Set

bpy.ops.outliner.object_operation(type='SELECT')

Undocumented (contribute)

Parameters:type (enum in [‘SELECT’, ‘DESELECT’, ‘DELETE’, ‘TOGVIS’, ‘TOGSEL’, ‘TOGREN’, ‘RENAME’], (optional)) – Object Operation
bpy.ops.outliner.operation()

Context menu for item operations

bpy.ops.outliner.renderability_toggle()

Toggle the renderability of selected items

bpy.ops.outliner.scroll_page(up=False)

Scroll page up or down

Parameters:up (boolean, (optional)) – Up, Scroll up one page
bpy.ops.outliner.selectability_toggle()

Toggle the selectability

bpy.ops.outliner.selected_toggle()

Toggle the Outliner selection of items

bpy.ops.outliner.show_active()

Adjust the view so that the active Object is shown centered

bpy.ops.outliner.show_hierarchy()

Open all object entries and close all others

bpy.ops.outliner.show_one_level(open=True)

Expand/collapse all entries by one level

Parameters:open (boolean, (optional)) – Open, Expand all entries one level deep
bpy.ops.outliner.visibility_toggle()

Toggle the visibility of selected items

Previous topic

Object Operators

Next topic

Paint Operators