FileAssetSelectParams(FileSelectParams)

base classes — bpy_struct, FileSelectParams

class bpy.types.FileAssetSelectParams(FileSelectParams)

Settings for the file selection in Asset Browser mode

asset_library_reference
  • ALL All Libraries – 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'"

catalog_id

The UUID of the catalog shown in the browser

Type

string, default “”, (never None)

filter_asset_id

Which asset types to show/hide, when browsing an asset library

Type

FileAssetSelectIDFilter, (readonly, never None)

import_method

Determine how the asset will be imported

  • FOLLOW_PREFS Follow Preferences – Use the import method set in the Preferences for this asset library, don’t override it for this 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 ['FOLLOW_PREFS', 'LINK', 'APPEND', 'APPEND_REUSE'], default "'LINK'"

instance_collections_on_append

Create instances for collections when appending, rather than adding them directly to the scene

Type

boolean, default False

Create instances for collections when linking, rather than adding them directly to the scene

Type

boolean, default False

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters

id (str) – 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 (str) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions