AssetRepresentation(bpy_struct)

base class — bpy_struct

class bpy.types.AssetRepresentation(bpy_struct)

Information about an entity that makes it possible for the asset system to deal with the entity as asset

full_library_path

Absolute path to the .blend file containing this asset (default “”, readonly, never None)

Type:

str

full_path

Absolute path to the .blend file containing this asset extended with the path of the asset inside the file (default “”, readonly, never None)

Type:

str

id_type

The type of the data-block, if the asset represents one (‘NONE’ otherwise) (default 'ACTION', readonly)

Type:

Literal[Id Type Items]

is_online

True if this asset is accessed via internet, not stored on disk (default False, readonly)

Type:

bool

local_id

The local data-block this asset represents; only valid if that is a data-block in this file (readonly)

Type:

ID

metadata

Additional information about the asset (readonly)

Type:

AssetMetaData

name

(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:

bpy.types.Struct

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

Inherited Properties

Inherited Functions

References