user: Provide the full official documentation entry for Bpy.Ops.File, preserving all code examples.

assistant: lib ( boolean , ( optional ) ) – Filter Blender IDs filemode ( int in [ 1 , 9 ] , ( optional ) ) – File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file display_type (enum in [ 'DEFAULT' , 'LIST_VERTICAL' , 'LIST_HORIZONTAL' , 'THUMBNAIL' ], (optional)) – Display Type DEFAULT Default – Automatically determine display type for files. LIST_VERTICAL Short List – Display files as short list. LIST_HORIZONTAL Long List – Display files as a detailed list. THUMBNAIL Thumbnails – Display files as thumbnails. sort_method ( enum in [ ] , ( optional ) ) – File sorting mode bpy.ops.file. hidedot ( ) ¶ Toggle hide hidden dot files bpy.ops.file. highlight ( ) ¶ Highlight selected file(s) bpy.ops.file. make_paths_absolute ( ) ¶ Make all paths to external files absolute bpy.ops.file. make_paths_relative ( ) ¶ Make all paths to external files relative to current .blend bpy.ops.file. mouse_execute ( ) ¶ Perform the current execute action for the file under the cursor (e.g. open the file) bpy.ops.file. next ( ) ¶ Move to next folder bpy.ops.file. pack_all ( ) ¶ Pack all used external files into this .blend bpy.ops.file. pack_libraries ( ) ¶ Store all data-blocks linked from other .blend files in the current .blend file. Library references are preserved so the linked data-blocks can be unpacked again bpy.ops.file. parent ( ) ¶ Move to parent directory bpy.ops.file. previous ( ) ¶ Move to previous folder bpy.ops.file. refresh ( ) ¶ Refresh the file list bpy.ops.file. rename ( ) ¶ Rename file or file directory bpy.ops.file. report_missing_files ( ) ¶ Report all missing external files bpy.ops.file. reset_recent ( ) ¶ Reset recent files bpy.ops.file. select ( * , wait_to_deselect_others = False , use_select_on_click = False , mouse_x = 0 , mouse_y = 0 , extend = False , fill = False , open = True , deselect_all = False , only_activate_if_selected = False , pass_through = False ) ¶ Handle mouse clicks to select and activate items Parameters : wait_to_deselect_others ( boolean , ( optional ) ) – Wait to Deselect Others use_select_on_click ( boolean , ( optional ) ) – Act on Click, Instead of selecting on mouse press, wait to see if there’s drag event. Otherwise select on mouse release mouse_x ( int in [ -inf , inf ] , ( optional ) ) – Mouse X mouse_y ( int in [ -inf , inf ] , ( optional ) ) – Mouse Y extend ( boolean , ( optional ) ) – Extend, Extend selection instead of deselecting everything first fill ( boolean , ( optional ) ) – Fill, Select everything beginning with the last selection open ( boolean , ( optional ) ) – Open, Open a directory when selecting it deselect_all ( boolean , ( optional ) ) – Deselect On Nothing, Deselect all when nothing under the cursor only_activate_if_selected ( boolean , ( optional ) ) – Only Activate if Selected, Do not change selection if the item under the cursor is already selected, only activate it pass_through ( boolean , ( optional ) ) – Pass Through, Even on successful execution, pass the event on so other operators can execute on it as well bpy.ops.file. select_all ( * , action = 'TOGGLE' ) ¶ Select or deselect all files Parameters : action (enum in [ 'TOGGLE' , 'SELECT' , 'DESELECT' , 'INVERT' ], (optional)) – Action, Selection action to execute TOGGLE Toggle – Toggle selection for all elements. SELECT Select – Select all elements. DESELECT Deselect – Deselect all elements. INVERT Invert – Invert selection of all elements. bpy.ops.file. select_bookmark ( * , dir = '' ) ¶ Select a bookmarked directory Parameters : dir ( string , ( optional , never None ) ) – Directory bpy.ops.file. select_box ( * , xmin = 0 , xmax = 0 , ymin = 0 , ymax = 0 , wait_for_input = True , mode = 'SET' ) ¶ Activate/select the file(s) contained in the border Parameters : xmin ( int in [ -inf , inf ] , ( optional ) ) – X Min xmax ( int in [ -inf , inf ] , ( optional ) ) – X Max ymin ( int in [ -inf , inf ] , ( optional ) ) – Y Min ymax ( int in [ -inf , inf ] , ( optional ) ) – Y Max wait_for_input ( boolean , ( optional ) ) – Wait for Input mode (enum in [ 'SET' , 'ADD' , 'SUB' ], (optional)) – Mode SET Set – Set a new selection. ADD Extend – Extend existing selection. SUB Subtract – Subtract existing selection. bpy.ops.file. select_walk ( * , direction = 'UP' , extend = False , fill = False ) ¶ Select/Deselect files by walking through them Parameters : direction (enum in [ 'UP' , 'DOWN' , 'LEFT' , 'RIGHT' ], (optional)) – Walk Direction, Select/Deselect element in this direction extend ( boolean , ( optional ) ) – Extend, Extend selection instead of deselecting everything first fill ( boolean , ( optional ) ) – Fill, Select everything beginning with the last selection bpy.ops.file. smoothscroll ( ) ¶ Smooth scroll to make editable file visible bpy.ops.file. sort_column_ui_context ( ) ¶ Change sorting to use column under cursor bpy.ops.file. start_filter ( ) ¶ Start entering filter text bpy.ops.file. unpack_all ( * , method = 'USE_LOCAL' ) ¶ Unpack all files packed into this .blend to external ones Parameters : method (enum in [ 'USE_LOCAL' , 'WRITE_LOCAL' , 'USE_ORIGINAL' , 'WRITE_ORIGINAL' , 'KEEP' , 'REMOVE' ], (optional)) – Method, How to unpack bpy.ops.file. unpack_item ( * , method = 'USE_LOCAL' , id_name = '' , id_type = 19785 ) ¶ Unpack this file to an external file Parameters : method (enum in [ 'USE_LOCAL' , 'WRITE_LOCAL' , 'USE_ORIGINAL' , 'WRITE_ORIGINAL' ], (optional)) – Method, How to unpack id_name ( string , ( optional , never None ) ) – ID Name, Name of ID block to unpack id_type ( int in [ 0 , inf ] , ( optional ) ) – ID Type, Identifier type of ID block bpy.ops.file. unpack_libraries ( ) ¶ Restore all packed linked data-blocks to their original locations bpy.ops.file. view_selected ( ) ¶ Scroll the selected files into view Next Fluid Operators Previous Extensions Operators Copyright &#169; Blender Authors Made with Furo Report issue on this page On this page File Operators autopack_toggle() bookmark_add() bookmark_cleanup() bookmark_delete() bookmark_move() cancel() delete() directory_new() edit_directory_path() execute() external_operation() filenum() filepath_drop() find_missing_files() hidedot() highlight() make_paths_absolute() make_paths_relative() mouse_execute() next() pack_all() pack_libraries() parent() previous() refresh() rename() report_missing_files() reset_recent() select() select_all() select_bookmark() select_box() select_walk() smoothscroll() sort_column_ui_context() start_filter() unpack_all() unpack_item() unpack_libraries() view_selected()