user: Show practical ways to work with Wm Operators in a Blender add-on or script – include code.

assistant:       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**)*) – File Path, Path to file
        - **directory** (*string**,* *(**optional**,* *never None**)*) – Directory, Directory of the file
        - **filename** (*string**,* *(**optional**,* *never None**)*) – File Name, Name of the 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
        - **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
        - **link** (*boolean**,* *(**optional**)*) – Link, Link the objects or data-blocks rather than appending
        - **do_reuse_local_id** (*boolean**,* *(**optional**)*) – Re-Use Local Data, Try to re-use previously matching appended data-blocks instead of appending a new copy
        - **clear_asset_data** (*boolean**,* *(**optional**)*) – Clear Asset Data, Don’t add asset meta-data or tags from the original data-block
        - **autoselect** (*boolean**,* *(**optional**)*) – Select, Select new objects
        - **active_collection** (*boolean**,* *(**optional**)*) – Active Collection, Put new objects on the active collection
        - **instance_collections** (*boolean**,* *(**optional**)*) – Instance Collections, Create instances for collections, rather than adding them directly to the scene
        - **instance_object_data** (*boolean**,* *(**optional**)*) – Instance Object Data, Create