Library(ID)#
base classes — bpy_struct
, ID
- class bpy.types.Library(ID)#
External .blend file from which data is linked
- filepath#
Path to the library .blend file
- Type:
string, default “”, (never None)
- is_editable#
Datablocks in this library are editable despite being linked. Used by brush assets and their dependencies.
- Type:
boolean, default False, (readonly)
- needs_liboverride_resync#
True if this library contains library overrides that are linked in current blendfile, and that had to be recursively resynced on load (it is recommended to open and re-save that library blendfile then)
- Type:
boolean, default False
- packed_file#
- Type:
PackedFile
, (readonly)
- version#
Version of Blender the library .blend was saved with
- Type:
int array of 3 items in [0, inf], default (0, 0, 0), (readonly)
- users_id#
ID data blocks which use this library
(readonly)
- reload()#
Reload this library and all its linked data-blocks
- 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