FileAssetSelectParams(FileSelectParams)
base classes — bpy_struct, FileSelectParams
- class bpy.types.FileAssetSelectParams(FileSelectParams)
Settings for the file selection in Asset Browser mode
- asset_library_reference
(default
'ALL')ALLAll Libraries – Show assets from all of the listed asset libraries.LOCALCurrent File – Show the assets currently available in this Blender session.ESSENTIALSEssentials – Show the basic building blocks and utilities coming with Blender.CUSTOMCustom – Show assets from the asset libraries configured in the Preferences.
- Type:
Literal[‘ALL’, ‘LOCAL’, ‘ESSENTIALS’, ‘CUSTOM’]
- catalog_id
The UUID of the catalog shown in the browser (default “”, never None)
- Type:
str
- filter_asset_id
Which asset types to show/hide, when browsing an asset library (readonly, never None)
- Type:
- import_method
Determine how the asset will be imported (default
'LINK')FOLLOW_PREFSFollow Preferences – Use the import method set in the Preferences for this asset library, don’t override it for this Asset Browser.LINKLink – Import the assets as linked data-block.APPENDAppend – Import the asset as copied data-block, with no link to the original asset data-block.APPEND_REUSEAppend (Reuse Data) – Import the asset 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.PACKPack – Import the asset as linked data-block, and pack it in the current file (ensures that it remains unchanged in case the library data is modified, is not available anymore, etc.).
- Type:
Literal[‘FOLLOW_PREFS’, ‘LINK’, ‘APPEND’, ‘APPEND_REUSE’, ‘PACK’]
- instance_collections_on_append
Create instances for collections when appending, rather than adding them directly to the scene (default False)
- Type:
bool
- instance_collections_on_link
Create instances for collections when linking, rather than adding them directly to the scene (default False)
- Type:
bool
- show_online_assets
When internet access is enabled, load and display online assets (default True)
- 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:
- 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