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

assistant: nded using visible windows in the current .blend file) value ( string , ( optional , never None ) ) – Value, Assign value File : startup/bl_operators/wm.py:267 bpy.ops.wm. context_set_value ( * , data_path = '' , value = '' ) ¶ Set a context value Parameters : data_path ( string , ( optional , never None ) ) – Context Attributes, Context data-path (expanded using visible windows in the current .blend file) value ( string , ( optional , never None ) ) – Value, Assignment value (as a string) File : startup/bl_operators/wm.py:480 bpy.ops.wm. context_toggle ( * , data_path = '' , module = '' ) ¶ Toggle a context value Parameters : data_path ( string , ( optional , never None ) ) – Context Attributes, Context data-path (expanded using visible windows in the current .blend file) module ( string , ( optional , never None ) ) – Module, Optionally override the context with a module File : startup/bl_operators/wm.py:504 bpy.ops.wm. context_toggle_enum ( * , data_path = '' , value_1 = '' , value_2 = '' ) ¶ Toggle a context value Parameters : data_path ( string , ( optional , never None ) ) – Context Attributes, Context data-path (expanded using visible windows in the current .blend file) value_1 ( string , ( optional , never None ) ) – Value, Toggle enum value_2 ( string , ( optional , never None ) ) – Value, Toggle enum File : startup/bl_operators/wm.py:545 bpy.ops.wm. debug_menu ( * , debug_value = 0 ) ¶ Open a popup to set the debug level Parameters : debug_value ( int in [ -32768 , 32767 ] , ( optional ) ) – Debug Value bpy.ops.wm. doc_view ( * , doc_id = '' ) ¶ Open online reference docs in a web browser Parameters : doc_id ( string , ( optional , never None ) ) – Doc ID File : startup/bl_operators/wm.py:1361 bpy.ops.wm. doc_view_manual ( * , doc_id = '' ) ¶ Load online manual Parameters : doc_id ( string , ( optional , never None ) ) – Doc ID File : startup/bl_operators/wm.py:1334 bpy.ops.wm. doc_view_manual_ui_context ( ) ¶ View a context based online manual in a web browser bpy.ops.wm. drop_blend_file ( * , filepath = '' ) ¶ Undocumented, consider contributing . Parameters : filepath ( string , ( optional , never None ) ) – filepath File : startup/bl_operators/wm.py:3655 bpy.ops.wm. drop_import_file ( * , directory = '' , files = None ) ¶ Operator that allows file handlers to receive file drops Parameters : directory ( string , ( optional , never None ) ) – Directory, Directory of the file files ( bpy_prop_collection of OperatorFileListElement , (optional)) – Files bpy.ops.wm. fbx_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 , mtl_name_collision_mode = 'MAKE_UNIQUE' , import_colors = 'SRGB' , use_custom_normals = True , use_custom_props = True , use_custom_props_enum_as_string = True , import_subdivision = False , ignore_leaf_bones = False , validate_meshes = True , use_anim = True , anim_offset = 1.0 , filter_glob = '*.fbx' ) ¶ Import FBX file into current scene 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 mtl_name_collision_mode (enum in [ 'MAKE_UNIQUE' , 'REFERENCE_EXISTING' ], (optional)) – Material Name Collision, Behavior when the name of an imported material conflicts with an existing material MAKE_UNIQUE Make Unique – Import each FBX material as a unique Blender material. REFERENCE_EXISTING Reference Existing – If a material with the same name already exists, reference that instead of importing. import_colors (enum in [ 'NONE' , 'SRGB' , 'LINEAR' ], (optional)) – Vertex Colors, Import vertex color attributes NONE None – Do not import color attributes. SRGB sRGB – Vertex colors in the file are in sRGB color space. LINEAR Linear – Vertex colors in the file are in linear color space. use_custom_normals ( boolean , ( optional ) ) – Custom Normals, Import custom normals, if available (otherwise Blender will compute them) use_custom_props ( boolean , ( optional ) ) – Custom Properties, Import user properties as custom properties use_custom_props_enum_as_string ( boolean , ( optional ) ) – Enums As Strings, Store custom property enumeration values as strings import_subdivision ( boolean , ( optional ) ) – Subdivision Data, Import FBX subdivision information as subdivision surface modifiers ignore_leaf_bones ( boolean , ( optional ) ) – Ignore Leaf Bones, Ignore the last bone at the end of each chain (used to mark the length of the previous bone) validate_meshes ( boolean , ( optional ) ) – Validate Meshes, Ensure the data is valid (when disabled, data may be imported which causes crashes displaying or editing) use_anim ( boolean , ( optional ) ) – Import Animation, Import FBX animation anim_offset ( float in [ -1e+06 , 1e+06 ] , ( optional ) ) – Offset, Offset to apply to animation timestamps, in frames filter_glob ( string , ( optional , never None ) ) – Extension Filter bpy.ops.wm. grease_pencil_export_pdf ( * , 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 = True , filter_volume = False , filter_folder = True , filter_blenlib = False , filemode = 8 , display_type = 'DEFAULT' , sort_method = '' , use_fill = True , selected_object_type = 'ACTIVE' , frame_mode = 'ACTIVE' , stroke_sample = 0.0 , use_uniform_width = False ) ¶ Export Grease Pencil to PDF 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 use_fill ( boolean , ( optional ) ) – Fill, Export strokes with fill enabled selected_object_type (enum in [ 'ACTIVE' , 'SELECTED' , 'VISIBLE' ], (optional)) – Object, Which objects to include in the export ACTIVE Active – Include only the active object. SELECTED Selected – Include selected objects. VISIBLE Visible – Include all visible objects. frame_mode (enum in [ 'ACTIVE' , 'SELECTED' , 'SCENE' ], (optional)) – Frames, Which frames to include in the export ACTIVE Active – Include only active frame. SELECTED Selected – Include selected frames. SCENE Scene – Include all scene frames. stroke_sample ( float in [ 0 , 100 ] , ( optional ) ) – Sampling, Precision of stroke sampling. Low values mean a more precise result, and zero disables sampling use_uniform_width ( boolean , ( optional ) ) – Uniform Width, Export strokes with uniform width bpy.ops.wm. grease_pencil_export_svg ( * , 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 = True , filter_volume = False , filter_folder = True , filter_blenlib = False , filemode = 8 , display_type = 'DEFAULT' , sort_method = '' , use_fill = True , selected_object_type = 'ACTIVE' , frame_mode = 'ACTIVE' , stroke_sample = 0.0 , use_uniform_width = False , use_clip_camera = False ) ¶ Export Grease Pencil to SVG 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 use_fill ( boolean , ( optional ) ) – Fill, Export strokes with fill enabled selected_object_type (enum in [ 'ACTIVE' , 'SELECTED' , 'VISIBLE' ], (optional)) – Object, Which objects to include in the export ACTIVE Active – Include only the active object. SELECTED Selected – Include selected objects. VISIBLE Visible – Include all visible objects. frame_mode (enum in [ 'ACTIVE' , 'SELECTED' , 'SCENE' ], (optional)) – Frames, Which frames to include in the export ACTIVE Active – Include only active frame. SELECTED Selected – Include selected frames. SCENE Scene – Include all scene frames. stroke_sample ( float in [ 0 , 100 ] , ( optional ) ) – Sampling, Precision of stroke sampling. Low values mean a more precise result, and zero disables sampling use_uniform_width ( boolean , ( optional ) ) – Uniform Width, Export strokes with uniform width use_clip_camera ( boolean , ( optional ) ) – Clip Camera, Clip drawings to camera size when exporting in camera view bpy.ops.wm. grease_pencil_import_svg ( * , 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 = True , filter_volume = False , filter_folder = True , filter_blenlib = False , filemode = 8 , relative_path = True , display_type = 'DEFAULT' , sort_method = '' , resolution = 10 , scale = 10.0 , use_scene_unit = False ) ¶ Import SVG into Grease Pencil 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 relative_path ( boolean , ( optional ) ) – Relative Path, Select the file relative to the blend 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 resolution ( int in [ 1 , 100000 ] , ( optional ) ) – Resolution, Resolution of the generated strokes scale ( float in [ 1e-06 , 1e+06 ] , ( optional ) ) – Scale, Scale of the final strokes use_scene_unit ( boolean , ( optional ) ) – Scene Unit, Apply current scene’s unit (as defined by unit scale) to imported data bpy.ops.wm. id_linked_relocate ( * , id_session_uid = 0 , filepath = '' , directory = '' , filename = '' , check_existing = False , 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 = True , filemode = 1 , relative_path = True , display_type = 'DEFAULT' , sort_method = '' , link = True , do_reuse_local_id = False , clear_asset_data = False , autoselect = True , active_collection = False , instance_collections = False , instance_object_data = False ) ¶ Relocate a linked ID, i.e. select another ID to link, and remap its local usages to that newly linked data-block). Currently only designed as an internal operator, not directly exposed to the user Parameters : id_session_uid ( int in [ 0 , inf ] , ( optional ) ) – Linked ID Session UID, Unique runtime identifier for the linked ID to relocate filepath ( string , ( optional , never None ) )