AssetWeakReference(bpy_struct)
base class — bpy_struct
- class bpy.types.AssetWeakReference(bpy_struct)
Weak reference to some asset
- asset_library_identifier
(default “”, readonly, never None)
- Type:
str
- asset_library_type
(default
'ALL', readonly)ALLAll Libraries – Show assets from all of the listed asset libraries.LOCALCurrent File – Show the assets currently available in this Blender session.ESSENTIALSEssentials – Show the basic building blocks and utilities coming with Blender.CUSTOMCustom – Show assets from the asset libraries configured in the Preferences.
- Type:
Literal[‘ALL’, ‘LOCAL’, ‘ESSENTIALS’, ‘CUSTOM’]
- relative_asset_identifier
(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