AssetWeakReference(bpy_struct)#

base class — bpy_struct

class bpy.types.AssetWeakReference(bpy_struct)#

Weak reference to some asset

asset_library_identifier#
Type:

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

asset_library_type#
  • ALL All – Show assets from all of the listed asset libraries.

  • LOCAL Current File – Show the assets currently available in this Blender session.

  • ESSENTIALS Essentials – Show the basic building blocks and utilities coming with Blender.

  • CUSTOM Custom – Show assets from the asset libraries configured in the Preferences.

Type:

enum in [‘ALL’, ‘LOCAL’, ‘ESSENTIALS’, ‘CUSTOM’], default ‘ALL’, (readonly)

relative_asset_identifier#
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#