AssetLibraryCollection(bpy_struct)
base class — bpy_struct
- class bpy.types.AssetLibraryCollection(bpy_struct)
Collection of user asset libraries
- classmethod new(*, name='', directory='')
Add a new Asset Library
- Parameters
name (string, (optional, never None)) – Name
directory (string, (optional, never None)) – Directory
- Returns
Newly added asset library
- Return type
- classmethod remove(library)
Remove an Asset Library
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters
id (str) – 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 (str) – The RNA type identifier.
- Returns
The class or default when not found.
- Return type
type