FileAssetSelectParams(FileSelectParams)
base classes — bpy_struct, FileSelectParams
- class bpy.types.FileAssetSelectParams(FileSelectParams)
Settings for the file selection in Asset Browser mode
- asset_library_reference
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:
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_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:
enum in [
'FOLLOW_PREFS','LINK','APPEND','APPEND_REUSE','PACK'], default"'LINK'"
- instance_collections_on_append
Create instances for collections when appending, rather than adding them directly to the scene
- Type:
boolean, default False
- instance_collections_on_link
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.Structsubclass
- 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