IDOverrideLibraryPropertyOperation(bpy_struct)

base class — bpy_struct

class bpy.types.IDOverrideLibraryPropertyOperation(bpy_struct)

Description of an override operation over an overridden property

flag

Optional flags (NOT USED)

  • MANDATORY Mandatory – For templates, prevents the user from removing predefined operation (NOT USED).

  • LOCKED Locked – Prevents the user from modifying that override operation (NOT USED).

Type

enum in [‘MANDATORY’, ‘LOCKED’], default ‘MANDATORY’, (readonly)

operation

What override operation is performed

  • NOOP No-Op – Does nothing, prevents adding actual overrides (NOT USED).

  • REPLACE Replace – Replace value of reference by overriding one.

  • DIFF_ADD Differential – Stores and apply difference between reference and local value (NOT USED).

  • DIFF_SUB Differential – Stores and apply difference between reference and local value (NOT USED).

  • FACT_MULTIPLY Factor – Stores and apply multiplication factor between reference and local value (NOT USED).

  • INSERT_AFTER Insert After – Insert a new item into collection after the one referenced in subitem_reference_name or _index.

  • INSERT_BEFORE Insert Before – Insert a new item into collection before the one referenced in subitem_reference_name or _index (NOT USED).

Type

enum in [‘NOOP’, ‘REPLACE’, ‘DIFF_ADD’, ‘DIFF_SUB’, ‘FACT_MULTIPLY’, ‘INSERT_AFTER’, ‘INSERT_BEFORE’], default ‘REPLACE’, (readonly)

subitem_local_index

Used to handle insertions into collection

Type

int in [-1, inf], default -1, (readonly)

subitem_local_name

Used to handle insertions into collection

Type

string, default “”, (readonly, never None)

subitem_reference_index

Used to handle insertions into collection

Type

int in [-1, inf], default -1, (readonly)

subitem_reference_name

Used to handle insertions into collection

Type

string, default “”, (readonly, never None)

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