user: Explain Bpy.Ops.Preferences in complete detail according to the official Blender documentation.

assistant: er 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.preferences. asset_library_remove ( * , index = 0 ) ¶ Remove a path to a .blend file, so the Asset Browser will not attempt to show it anymore Parameters : index ( int in [ 0 , inf ] , ( optional ) ) – Index bpy.ops.preferences. associate_blend ( ) ¶ Use this installation for .blend files and to display thumbnails bpy.ops.preferences. autoexec_path_add ( ) ¶ Add path to exclude from auto-execution bpy.ops.preferences. autoexec_path_remove ( * , index = 0 ) ¶ Remove path to exclude from auto-execution Parameters : index ( int in [ 0 , inf ] , ( optional ) ) – Index bpy.ops.preferences. copy_prev ( ) ¶ Copy settings from previous version File : startup/bl_operators/userpref.py:170 bpy.ops.preferences. extension_repo_add ( * , name = '' , remote_url = '' , use_access_token = False , access_token = '' , use_sync_on_startup = False , use_custom_directory = False , custom_directory = '' , type = 'REMOTE' ) ¶ Add a new repository used to store extensions Parameters : name ( string , ( optional , never None ) ) – Name, Unique repository name remote_url ( string , ( optional , never None ) ) – URL, Remote URL to the extension repository, the file-system may be referenced using the file URI scheme: “ file:// ” use_access_token ( boolean , ( optional ) ) – Requires Access Token, Repository requires an access token access_token ( string , ( optional , never None ) ) – Secret, Personal access token, may be required by some repositories use_sync_on_startup ( boolean , ( optional ) ) – Check for Updates on Startup, Allow Blender to check for updates upon launch use_custom_directory ( boolean , ( optional ) ) – Custom Directory, Manually set the path for extensions to be stored. When disabled a user’s extensions directory is created. custom_directory ( string , ( optional , never None ) ) – Custom Directory, The local directory containing extensions type (enum in [ 'REMOTE' , 'LOCAL' ], (optional)) – Type, The kind of repository to add REMOTE Add Remote Repository – Add a repository referencing a remote repository with support for listing and updating extensions. LOCAL Add Local Repository – Add a repository managed manually without referencing an external repository. bpy.ops.preferences. extension_repo_remove ( * , index = 0 , remove_files = False ) ¶ Remove an extension repository Parameters : index ( int in [ 0 , inf ] , ( optional ) ) – Index remove_files ( boolean , ( optional ) ) – Remove Files, Remove extension files when removing the repository bpy.ops.preferences. extension_url_drop ( * , url = '' ) ¶ Handle dropping an extension URL Parameters : url ( string , ( optional , never None ) ) – URL, Location of the extension to install bpy.ops.preferences. keyconfig_activate ( * , filepath = '' ) ¶ Undocumented, consider contributing . Parameters : filepath ( string , ( optional , never None ) ) – filepath File : startup/bl_operators/userpref.py:91 bpy.ops.preferences. keyconfig_export ( * , all = False , filepath = '' , filter_folder = True , filter_text = True , filter_python = True ) ¶ Export key configuration to a Python script Parameters : all ( boolean , ( optional ) ) – All Keymaps, Write all keymaps (not just user modified) filepath ( string , ( optional , never None ) ) – filepath filter_folder ( boolean , ( optional ) ) – Filter folders filter_text ( boolean , ( optional ) ) – Filter text filter_python ( boolean , ( optional ) ) – Filter Python File : startup/bl_operators/userpref.py:324 bpy.ops.preferences. keyconfig_import ( * , filepath = 'keymap.py' , filter_folder = True , filter_text = True , filter_python = True , keep_original = True ) ¶ Import key configuration from a Python script Parameters : filepath ( string , ( optional , never None ) ) – filepath filter_folder ( boolean , ( optional ) ) – Filter folders filter_text ( boolean , ( optional ) ) – Filter text filter_python ( boolean , ( optional ) ) – Filter Python keep_original ( boolean , ( optional ) ) – Keep Original, Keep original file after copying to configuration folder File : startup/bl_operators/userpref.py:259 bpy.ops.preferences. keyconfig_remove ( ) ¶ Remove key config File : startup/bl_operators/userpref.py:463 bpy.ops.preferences. keyconfig_test ( ) ¶ Test key configuration for conflicts File : startup/bl_operators/userpref.py:194 bpy.ops.preferences. keyitem_add ( ) ¶ Add key map item File : startup/bl_operators/userpref.py:411 bpy.ops.preferences. keyitem_remove ( * , item_id = 0 ) ¶ Remove key map item Parameters : item_id ( int in [ -inf , inf ] , ( optional ) ) – Item Identifier, Identifier of the item to remove File : startup/bl_operators/userpref.py:443 bpy.ops.preferences. keyitem_restore ( * , item_id = 0 ) ¶ Restore key map item Parameters : item_id ( int in [ -inf , inf ] , ( optional ) ) – Item Identifier, Identifier of the item to restore File : startup/bl_operators/userpref.py:395 bpy.ops.preferences. keymap_restore ( * , all = False ) ¶ Restore key map(s) Parameters : all ( boolean , ( optional ) ) – All Keymaps, Restore all keymaps to default File : startup/bl_operators/userpref.py:366 bpy.ops.preferences. reset_default_theme ( ) ¶ Reset to the default theme colors bpy.ops.preferences. script_directory_add ( * , directory = '' , filter_folder = True ) ¶ Undocumented, consider contributing . Parameters : directory ( string , ( optional , never None ) ) – directory filter_folder ( boolean , ( optional ) ) – Filter Folders File : startup/bl_operators/userpref.py:1256 bpy.ops.preferences. script_directory_remove ( * , index = 0 ) ¶ Undocumented, consider contributing . Parameters : index ( int in [ -inf , inf ] , ( optional ) ) – Index, Index of the script directory to remove File : startup/bl_operators/userpref.py:1286 bpy.ops.preferences. studiolight_copy_settings ( * , index = 0 ) ¶ Copy Studio Light settings to the Studio Light editor Parameters : index ( int in [ -inf , inf ] , ( optional ) ) – index File : startup/bl_operators/userpref.py:1227 bpy.ops.preferences. studiolight_install ( * , files = None , directory = '' , filter_folder = True , filter_glob = '*.png;*.jpg;*.hdr;*.exr' , type = 'MATCAP' ) ¶ Install a user defined light Parameters : files ( bpy_prop_collection of OperatorFileListElement , (optional)) – File Path directory ( string , ( optional , never None ) ) – directory filter_folder ( boolean , ( optional ) ) – Filter Folders filter_glob ( string , ( optional , never None ) ) – filter_glob type (enum in [ 'MATCAP' , 'WORLD' , 'STUDIO' ], (optional)) – Type MATCAP MatCap – Install custom MatCaps. WORLD World – Install custom HDRIs. STUDIO Studio – Install custom Studio Lights. File : startup/bl_operators/userpref.py:1110 bpy.ops.preferences. studiolight_new ( * , filename = 'StudioLight' ) ¶ Save custom studio light from the studio light editor settings Parameters : filename ( string , ( optional , never None ) ) – Name File : startup/bl_operators/userpref.py:1157 bpy.ops.preferences. studiolight_uninstall ( * , index = 0 ) ¶ Delete Studio Light Parameters : index ( int in [ -inf , inf ] , ( optional ) ) – index File : startup/bl_operators/userpref.py:1208 bpy.ops.preferences. theme_install ( * , overwrite = True , filepath = '' , filter_folder = True , filter_glob = '*.xml' ) ¶ Load and apply a Blender XML theme file Parameters : overwrite ( boolean , ( optional ) ) – Overwrite, Remove existing theme file if exists filepath ( string , ( optional , never None ) ) – filepath filter_folder ( boolean , ( optional ) ) – Filter folders filter_glob ( string , ( optional , never None ) ) – filter_glob File : startup/bl_operators/userpref.py:598 bpy.ops.preferences. unassociate_blend ( ) ¶ Remove this installation’s associations with .blend files Next Ptcache Operators Previous Poselib Operators Copyright &#169; Blender Authors Made with Furo Report issue on this page On this page Preferences Operators addon_disable() addon_enable() addon_expand() addon_install() addon_refresh() addon_remove() addon_show() app_template_install() asset_library_add() asset_library_remove() associate_blend() autoexec_path_add() autoexec_path_remove() copy_prev() extension_repo_add() extension_repo_remove() extension_url_drop() keyconfig_activate() keyconfig_export() keyconfig_import() keyconfig_remove() keyconfig_test() keyitem_add() keyitem_remove() keyitem_restore() keymap_restore() reset_default_theme() script_directory_add() script_directory_remove() studiolight_copy_settings() studiolight_install() studiolight_new() studiolight_uninstall() theme_install() unassociate_blend()