IDOverrideLibraryPropertyOperation(bpy_struct)
base class — bpy_struct
- class bpy.types.IDOverrideLibraryPropertyOperation(bpy_struct)
Description of an override operation over an overridden property
- flag
Status flags (default set(), readonly)
MANDATORYMandatory – For templates, prevents the user from removing predefined operation (NOT USED).LOCKEDLocked – Prevents the user from modifying that override operation (NOT USED).IDPOINTER_MATCH_REFERENCEMatch Reference – The ID pointer overridden by this operation is expected to match the reference hierarchy.IDPOINTER_ITEM_USE_IDID Item Use ID Pointer – RNA collections of IDs only, the reference to the item also uses the ID pointer itself, not only its name.
- Type:
set[Literal[‘MANDATORY’, ‘LOCKED’, ‘IDPOINTER_MATCH_REFERENCE’, ‘IDPOINTER_ITEM_USE_ID’]]
- operation
What override operation is performed (default
'REPLACE', readonly)NOOPNo-Op – Does nothing, prevents adding actual overrides (NOT USED).REPLACEReplace – Replace value of reference by overriding one.DIFF_ADDDifferential – Stores and apply difference between reference and local value (NOT USED).DIFF_SUBDifferential – Stores and apply difference between reference and local value (NOT USED).FACT_MULTIPLYFactor – Stores and apply multiplication factor between reference and local value (NOT USED).INSERT_AFTERInsert After – Insert a new item into collection after the one referenced in subitem_reference_name/_id or _index.INSERT_BEFOREInsert Before – Insert a new item into collection before the one referenced in subitem_reference_name/_id or _index (NOT USED).
- Type:
Literal[‘NOOP’, ‘REPLACE’, ‘DIFF_ADD’, ‘DIFF_SUB’, ‘FACT_MULTIPLY’, ‘INSERT_AFTER’, ‘INSERT_BEFORE’]
- subitem_local_id
Collection of IDs only, used to disambiguate between potential IDs with same name from different libraries (readonly)
- Type:
- subitem_local_index
Used to handle changes into collection (in [-1, inf], default -1, readonly)
- Type:
int
- subitem_local_name
Used to handle changes into collection (default “”, readonly, never None)
- Type:
str
- subitem_reference_id
Collection of IDs only, used to disambiguate between potential IDs with same name from different libraries (readonly)
- Type:
- subitem_reference_index
Used to handle changes into collection (in [-1, inf], default -1, readonly)
- Type:
int
- subitem_reference_name
Used to handle changes into collection (default “”, readonly, never None)
- Type:
str
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type