UserAssetLibrary(bpy_struct)#

base class — bpy_struct

class bpy.types.UserAssetLibrary(bpy_struct)#

Settings to define a reusable library for Asset Browsers to use

import_method#

Determine how the asset will be imported, unless overridden by the Asset Browser

  • LINK Link – Import the assets as linked data-block.

  • APPEND Append – Import the assets as copied data-block, with no link to the original asset data-block.

  • APPEND_REUSE Append (Reuse Data) – Import the assets as copied data-block while avoiding multiple copies of nested, typically heavy data. For example the textures of a material asset, or the mesh of an object asset, don’t have to be copied every time this asset is imported. The instances of the asset share the data instead..

Type:

enum in [‘LINK’, ‘APPEND’, ‘APPEND_REUSE’], default ‘APPEND_REUSE’

name#

Identifier (not necessarily unique) for the asset library

Type:

string, default “”, (never None)

path#

Path to a directory with .blend files to use as an asset library

Type:

string, default “”, (never None)

use_relative_path#

Use relative path when linking assets from this asset library

Type:

boolean, default True

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#