UserAssetLibrary(bpy_struct)

base class — bpy_struct

class bpy.types.UserAssetLibrary(bpy_struct)

Settings to define a reusable library for Asset Browsers to use

enabled

Enable the asset library (default True)

Type:

bool

import_method

Determine how the asset will be imported, unless overridden by the Asset Browser (default 'PACK')

Type:

Literal[Asset Import Method Items]

name

Identifier (not necessarily unique) for the asset library (default “”, never None)

Type:

str

path

Path to a directory with .blend files to use as an asset library (default “”, never None)

Type:

str

remote_url

Remote URL to the asset library (default “”, never None)

Type:

str

use_relative_path

Use relative path when linking assets from this asset library (default True)

Type:

bool

use_remote_url

Synchronize the asset library with a remote URL (default False, readonly)

Type:

bool

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