FileSelectParams(bpy_struct)#
base class — bpy_struct
subclasses —
FileAssetSelectParams
- class bpy.types.FileSelectParams(bpy_struct)#
File Select Parameters
- directory#
Directory displayed in the file browser
- Type:
string, default “”, (never None)
- display_size#
Change the size of thumbnails
- Type:
int in [16, 256], default 96
- display_size_discrete#
Change the size of thumbnails in discrete steps
- Type:
enum in [‘TINY’, ‘SMALL’, ‘NORMAL’, ‘BIG’, ‘LARGE’], default ‘TINY’
- display_type#
Display mode for the file list
LIST_VERTICAL
Vertical List – Display files as a vertical list.LIST_HORIZONTAL
Horizontal List – Display files as a horizontal list.THUMBNAIL
Thumbnails – Display files as thumbnails.
- Type:
enum in [‘LIST_VERTICAL’, ‘LIST_HORIZONTAL’, ‘THUMBNAIL’], default ‘LIST_VERTICAL’
- filename#
Active file in the file browser
- Type:
string, default “”, (never None)
- filter_glob#
UNIX shell-like filename patterns matching, supports wildcards (‘*’) and list of patterns separated by ‘;’
- Type:
string, default “”, (never None)
- filter_id#
Which ID types to show/hide, when browsing a library
- Type:
FileSelectIDFilter
, (readonly, never None)
- filter_search#
Filter by name or tag, supports ‘*’ wildcard
- Type:
string, default “”, (never None)
- recursion_level#
Numbers of dirtree levels to show simultaneously
NONE
None – Only list current directory’s content, with no recursion.BLEND
Blend File – List .blend files’ content.ALL_1
One Level – List all sub-directories’ content, one level of recursion.ALL_2
Two Levels – List all sub-directories’ content, two levels of recursion.ALL_3
Three Levels – List all sub-directories’ content, three levels of recursion.
- Type:
enum in [‘NONE’, ‘BLEND’, ‘ALL_1’, ‘ALL_2’, ‘ALL_3’], default ‘NONE’
- show_details_datetime#
Show a column listing the date and time of modification for each file
- Type:
boolean, default False
- show_details_size#
Show a column listing the size of each file
- Type:
boolean, default False
Show hidden dot files
- Type:
boolean, default False
- sort_method#
- Type:
enum in Fileselect Params Sort Items, default ‘FILE_SORT_ALPHA’
- title#
Title for the file browser
- Type:
string, default “”, (readonly, never None)
- use_filter#
Enable filtering of files
- Type:
boolean, default False
- use_filter_asset_only#
Hide .blend files items that are not data-blocks with asset metadata
- Type:
boolean, default False
- use_filter_backup#
Show .blend1, .blend2, etc. files
- Type:
boolean, default False
- use_filter_blender#
Show .blend files
- Type:
boolean, default False
- use_filter_blendid#
Show .blend files items (objects, materials, etc.)
- Type:
boolean, default False
- use_filter_folder#
Show folders
- Type:
boolean, default False
- use_filter_font#
Show font files
- Type:
boolean, default False
- use_filter_image#
Show image files
- Type:
boolean, default False
- use_filter_movie#
Show movie files
- Type:
boolean, default False
- use_filter_script#
Show script files
- Type:
boolean, default False
- use_filter_sound#
Show sound files
- Type:
boolean, default False
- use_filter_text#
Show text files
- Type:
boolean, default False
- use_filter_volume#
Show 3D volume files
- Type:
boolean, default False
- use_library_browsing#
Whether we may browse Blender files’ content or not
- Type:
boolean, default False, (readonly)
- use_sort_invert#
Sort items descending, from highest value to lowest
- 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