user: Give a detailed overview of Bpy.Ops.Wm: syntax, arguments, return values, common patterns.

assistant:  ( boolean , ( optional ) ) – Filter image files filter_movie ( boolean , ( optional ) ) – Filter movie files filter_python ( boolean , ( optional ) ) – Filter Python files filter_font ( boolean , ( optional ) ) – Filter font files filter_sound ( boolean , ( optional ) ) – Filter sound files filter_text ( boolean , ( optional ) ) – Filter text files filter_archive ( boolean , ( optional ) ) – Filter archive files filter_btx ( boolean , ( optional ) ) – Filter btx files filter_alembic ( boolean , ( optional ) ) – Filter Alembic files filter_usd ( boolean , ( optional ) ) – Filter USD files filter_obj ( boolean , ( optional ) ) – Filter OBJ files filter_volume ( boolean , ( optional ) ) – Filter OpenVDB volume files filter_folder ( boolean , ( optional ) ) – Filter folders filter_blenlib ( 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 use_scripts ( boolean , ( optional ) ) – Trusted Source, Allow .blend file to execute scripts automatically, default available from system preferences bpy.ops.wm. recover_last_session ( * , use_scripts = False ) ¶ Open the last closed file (“quit.blend”) Parameters : use_scripts ( boolean , ( optional ) ) – Trusted Source, Allow .blend file to execute scripts automatically, default available from system preferences bpy.ops.wm. redraw_timer ( * , type = 'DRAW' , iterations = 10 , time_limit = 0.0 ) ¶ Simple redraw timer to test the speed of updating the interface Parameters : type (enum in [ 'DRAW' , 'DRAW_SWAP' , 'DRAW_WIN' , 'DRAW_WIN_SWAP' , 'ANIM_STEP' , 'ANIM_PLAY' , 'UNDO' ], (optional)) – Type DRAW Draw Region – Draw region. DRAW_SWAP Draw Region & Swap – Draw region and swap. DRAW_WIN Draw Window – Draw window. DRAW_WIN_SWAP Draw Window & Swap – Draw window and swap. ANIM_STEP Animation Step – Animation steps. ANIM_PLAY Animation Play – Animation playback. UNDO Undo/Redo – Undo and redo. iterations ( int in [ 1 , inf ] , ( optional ) ) – Iterations, Number of times to redraw time_limit ( float in [ 0 , inf ] , ( optional ) ) – Time Limit, Seconds to run the test for (override iterations) bpy.ops.wm. revert_mainfile ( * , use_scripts = False ) ¶ Reload the saved file Parameters : use_scripts ( boolean , ( optional ) ) – Trusted Source, Allow .blend file to execute scripts automatically, default available from system preferences bpy.ops.wm. save_as_mainfile ( * , filepath = '' , hide_props_region = True , check_existing = True , filter_blender = True , filter_backup = False , filter_image = False , filter_movie = False , filter_python = False , filter_font = False , filter_sound = False , filter_text = False , filter_archive = False , filter_btx = False , filter_alembic = False , filter_usd = False , filter_obj = False , filter_volume = False , filter_folder = True , filter_blenlib = False , filemode = 8 , display_type = 'DEFAULT' , sort_method = '' , compress = False , relative_remap = True , copy = False ) ¶ Save the current file in the desired location Parameters : filepath ( string , ( optional , never None ) ) – File Path, Path to file hide_props_region ( boolean , ( optional ) ) – Hide Operator Properties, Collapse the region displaying the operator settings check_existing ( boolean , ( optional ) ) – Check Existing, Check and warn on overwriting existing files filter_blender ( boolean , ( optional ) ) – Filter .blend files filter_backup ( boolean , ( optional ) ) – Filter .blend files filter_image ( boolean , ( optional ) ) – Filter image files filter_movie ( boolean , ( optional ) ) – Filter movie files filter_python ( boolean , ( optional ) ) – Filter Python files filter_font ( boolean , ( optional ) ) – Filter font files filter_sound ( boolean , ( optional ) ) – Filter sound files filter_text ( boolean , ( optional ) ) – Filter text files filter_archive ( boolean , ( optional ) ) – Filter archive files filter_btx ( boolean , ( optional ) ) – Filter btx files filter_alembic ( boolean , ( optional ) ) – Filter Alembic files filter_usd ( boolean , ( optional ) ) – Filter USD files filter_obj ( boolean , ( optional ) ) – Filter OBJ files filter_volume ( boolean , ( optional ) ) – Filter OpenVDB volume files filter_folder ( boolean , ( optional ) ) – Filter folders filter_blenlib ( 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 compress ( boolean , ( optional ) ) – Compress, Write compressed .blend file relative_remap ( boolean , ( optional ) ) – Remap Relative, Remap relative paths when saving to a different directory copy ( boolean , ( optional ) ) – Save Copy, Save a copy of the actual working state but does not make saved file active bpy.ops.wm. save_homefile ( ) ¶ Make the current file the default startup file bpy.ops.wm. save_mainfile ( * , filepath = '' , hide_props_region = True , check_existing = True , filter_blender = True , filter_backup = False , filter_image = False , filter_movie = False , filter_python = False , filter_font = False , filter_sound = False , filter_text = False , filter_archive = False , filter_btx = False , filter_alembic = False , filter_usd = False , filter_obj = False , filter_volume = False , filter_folder = True , filter_blenlib = False , filemode = 8 , display_type = 'DEFAULT' , sort_method = '' , compress = False , relative_remap = False , exit = False , incremental = False ) ¶ Save the current Blender file Parameters : filepath ( string , ( optional , never None ) ) – File Path, Path to file hide_props_region ( boolean , ( optional ) ) – Hide Operator Properties, Collapse the region displaying the operator settings check_existing ( boolean , ( optional ) ) – Check Existing, Check and warn on overwriting existing files filter_blender ( boolean , ( optional ) ) – Filter .blend files filter_backup ( boolean , ( optional ) ) – Filter .blend files filter_image ( boolean , ( optional ) ) – Filter image files filter_movie ( boolean , ( optional ) ) – Filter movie files filter_python ( boolean , ( optional ) ) – Filter Python files filter_font ( boolean , ( optional ) ) – Filter font files filter_sound ( boolean , ( optional ) ) – Filter sound files filter_text ( boolean , ( optional ) ) – Filter text files filter_archive ( boolean , ( optional ) ) – Filter archive files filter_btx ( boolean , ( optional ) ) – Filter btx files filter_alembic ( boolean , ( optional ) ) – Filter Alembic files filter_usd ( boolean , ( optional ) ) – Filter USD files filter_obj ( boolean , ( optional ) ) – Filter OBJ files filter_volume ( boolean , ( optional ) ) – Filter OpenVDB volume files filter_folder ( boolean , ( optional ) ) – Filter folders filter_blenlib ( 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 compress ( boolean , ( optional ) ) – Compress, Write compressed .blend file relative_remap ( boolean , ( optional ) ) – Remap Relative, Remap relative paths when saving to a different directory exit ( boolean , ( optional ) ) – Exit, Exit Blender after saving incremental ( boolean , ( optional ) ) – Incremental, Save the current Blender file with a numerically incremented name that does not overwrite any existing files bpy.ops.wm. save_userpref ( ) ¶ Make the current preferences default bpy.ops.wm. search_menu ( ) ¶ Pop-up a search over all menus in the current context bpy.ops.wm. search_operator ( ) ¶ Pop-up a search over all available operators in current context bpy.ops.wm. search_single_menu ( * , menu_idname = '' , initial_query = '' ) ¶ Pop-up a search for a menu in current context Parameters : menu_idname ( string , ( optional , never None ) ) – Menu Name, Menu to search in initial_query ( string , ( optional , never None ) ) – Initial Query, Query to insert into the search box bpy.ops.wm. set_stereo_3d ( * , display_mode = 'ANAGLYPH' , anaglyph_type = 'RED_CYAN' , interlace_type = 'ROW_INTERLEAVED' , use_interlace_swap = False , use_sidebyside_crosseyed = False ) ¶ Toggle 3D stereo support for current window (or change the display mode) Parameters : display_mode (enum in Stereo3D Display Items , (optional)) – Display Mode anaglyph_type (enum in Stereo3D Anaglyph Type Items , (optional)) – Anaglyph Type interlace_type (enum in Stereo3D Interlace Type Items , (optional)) – Interlace Type use_interlace_swap ( boolean , ( optional ) ) – Swap Left/Right, Swap left and right stereo channels use_sidebyside_crosseyed ( boolean , ( optional ) ) – Cross-Eyed, Right eye should see left image and vice versa bpy.ops.wm. set_working_color_space ( * , convert_colors = True , working_space = '' ) ¶ Change the working color space of all colors in this blend file Parameters : convert_colors ( boolean , ( optional ) ) – Convert Colors in All Data-blocks, Change colors in all data-blocks to the new working space working_space ( enum in [ ] , ( optional ) ) – Working Space, Color space to set bpy.ops.wm. splash ( ) ¶ Open the splash screen with release info bpy.ops.wm. splash_about ( ) ¶ Open a window with information about Blender bpy.ops.wm. stl_export ( * , filepath = '' , check_existing = True , filter_blender = False , filter_backup = False , filter_image = False , filter_movie = False , filter_python = False , filter_font = False , filter_sound = False , filter_text = False , filter_archive = False , filter_btx = False , filter_alembic = False , filter_usd = False , filter_obj = False , filter_volume = False , filter_folder = True , filter_blenlib = False , filemode = 8 , display_type = 'DEFAULT' , sort_method = '' , ascii_format = False , use_batch = False , export_selected_objects = False , collection = '' , global_scale = 1.0 , use_scene_unit = False , forward_axis = 'Y' , up_axis = 'Z' , apply_modifiers = True , filter_glob = '*.stl' ) ¶ Save the scene to an STL file Parameters : filepath ( string , ( optional , never None ) ) – File Path, Path to file check_existing ( boolean , ( optional ) ) – Check Existing, Check and warn on overwriting existing files filter_blender ( boolean , ( optional ) ) – Filter .blend files filter_backup ( boolean , ( optional ) ) – Filter .blend files filter_image ( boolean , ( optional ) ) – Filter image files filter_movie ( boolean , ( optional ) ) – Filter movie files filter_python ( boolean , ( optional ) ) – Filter Python files filter_font ( boolean , ( optional ) ) – Filter font files filter_sound ( boolean , ( optional ) ) – Filter sound files filter_text ( boolean , ( optional ) ) – Filter text files filter_archive ( boolean , ( optional ) ) – Filter archive files filter_btx ( boolean , ( optional ) ) – Filter btx files filter_alembic ( boolean , ( optional ) ) – Filter Alembic files filter_usd ( boolean , ( optional ) ) – Filter USD files filter_obj ( boolean , ( optional ) ) – Filter OBJ files filter_volume ( boolean , ( optional ) ) – Filter OpenVDB volume files filter_folder ( boolean , ( optional ) ) – Filter folders filter_blenlib ( 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 ascii_format ( boolean , ( optional ) ) – ASCII Format, Export file in ASCII format, export as binary otherwise use_batch ( boolean , ( optional ) ) – Batch Export, Export each object to a separate file export_selected_objects ( boolean , ( optional ) ) – Export Selected Objects, Export only selected objects instead of all supported objects collection ( string , ( optional , never None ) ) – Source Collection, Export only objects from this collection (and its children) global_scale ( float in [ 1e-06 , 1e+06 ] , ( optional ) ) – Scale use_scene_unit ( boolean , ( optional ) ) – Scene Unit, Apply current scene’s unit (as defined by unit scale) to exported data forward_axis (enum in [ 'X' , 'Y' , 'Z' , 'NEGATIVE_X' , 'NEGATIVE_Y' , 'NEGATIVE_Z' ], (optional)) – Forward Axis X X – Positive X axis. Y Y – Positive Y axis. Z Z – Positive Z axis. NEGATIVE_X -X – Negative X axis. NEGATIVE_Y -Y – Negative Y axis. NEGATIVE_Z -Z – Negative Z axis. up_axis (enum in [ 'X' , 'Y' , 'Z' , 'NEGATIVE_X' , 'NEGATIVE_Y' , 'NEGATIVE_Z' ], (optional)) – Up Axis X X – Positive X axis. Y Y – Positive Y axis. Z Z – Positive Z axis. NEGATIVE_X -X – Negative X axis. NEGATIVE_Y -Y – Negative Y axis. NEGATIVE_Z -Z – Negative Z axis. apply_modifiers ( boolean , ( optional ) ) – Apply Modifiers, Apply modifiers to exported meshes filter_glob ( string , ( optional , never None ) ) – Extension Filter bpy.ops.wm. stl_import ( * , filepath = '' , directory = '' , files = None , check_existing = False , filter_blender = False , filter_backup = False , filter_image = False , filter_movie = False , filter_python = False , filter_font = False , filter_sound = False , filter_text = False , filter_archive = False , filter_btx = False , filter_alembic = False , filter_usd = False , filter_obj = False , filter_volume = False , filter_folder = True , filter_blenlib = False , filemode = 8 , display_type = 'DEFAULT' , sort_method = '' , global_scale = 1.0 , use_scene_unit = False , use_facet_normal = False , forward_axis = 'Y' , up_axis = 'Z' , use_mesh_validate = True , filter_glob = '*.stl' ) ¶ Import an STL file as an object Parameters : filepath ( string , ( optional , never None ) ) – File Path, Path to file directory ( string , ( optional , never None ) ) – Directory, Directory of the file files ( bpy_prop_collection of OperatorFileListElement , (optional)) – Files check_existing ( boolean , ( optional ) ) – Check Existing, Check and warn on overwriting existing files filter_blender ( boolean , ( optional ) ) – Filter .blend files filter_backup ( boolean , ( optional ) ) – Filter .blend files filter_image ( boolean , ( optional ) ) – Filter image files filter_movie ( boolean , ( optional ) ) – Filter movie files filter_python ( boolean , ( optional ) ) – Filter Python files filter_font ( boolean , ( optional ) ) – Filter font files filter_sound ( boolean , ( optional ) ) – Filter sound files filter_text ( boolean , ( optional ) ) – Filter text files filter_archive ( boolean , ( optional ) ) – Filter archive files filter_btx ( boolean , ( optional ) ) – Filter btx files filter_alembic ( boolean , ( optional ) ) – Filter Alembic files filter_usd ( boolean , ( optional ) ) – Filter USD files filter_obj ( boolean , ( optional ) ) – Filter OBJ files filter_volume ( boolean , ( optional ) ) – Filter OpenVDB volume files filter_folder ( boolean , ( optional ) ) – Filter folders filter_blenlib ( 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 global_scale ( float in [ 1e-06 , 1e+06 ] , ( optional ) ) – Scale use_scene_unit ( boolean , ( optional ) ) – Scene Unit, Apply current scene’s unit (as defined by unit scale) to imported data use_facet_normal ( boolean , ( optional ) ) – Facet Normals, Use (import) facet normals (note that this will still give flat shading) forward_axis (enum in [ 'X' , 'Y' , 'Z' , 'NEGATIVE_X' , 'NEGATIVE_Y' , 'NEGATIVE_Z' ], (optional)) – Forward Axis X X – Positive X axis. Y Y – Positive Y axis. Z Z – Positive Z axis. NEGATIVE_X -X – Negative X axis. NEGATIVE_Y -Y – Negative Y axis. NEGATIVE_Z -Z – Negative Z axis. up_axis (enum in [ 'X' , 'Y' , 'Z' , 'NEGATIVE_X' , 'NEGATIVE_Y' , 'NEGATIVE_Z' ], (optional)) – Up Axis X X – Positive X axis. Y Y – Positive Y axis. Z Z – Positive Z axis. NEGATIVE_X -X – Negative X axis. NEGATIVE_Y -Y – Negative Y axis. NEGATIVE_Z -Z – Negative Z axis. use_mesh_validate ( boolean ,