user: How do I use AnimVizMotionPaths(bpy_struct) in Blender? Include parameters, examples, warnings and best practices.

assistant: # AnimVizMotionPaths(bpy_struct)

base class — [`bpy_struct`](bpy.types.bpy_struct.html#bpy.types.bpy_struct "bpy.types.bpy_struct")

*class* bpy.types.AnimVizMotionPaths(*bpy_struct*)
:   Motion Path settings for animation visualization

    bake_location
    :   When calculating Bone Paths, use Head or Tips

        Type:
        :   enum in [Motionpath Bake Location Items](bpy_types_enum_items/motionpath_bake_location_items.html#rna-enum-motionpath-bake-location-items), default `'TAILS'`

    frame_after
    :   Number of frames to show after the current frame (only for ‘Around Frame’ Onion-skinning method)

        Type:
        :   int in [1, 524287], default 0

    frame_before
    :   Number of frames to show before the current frame (only for ‘Around Frame’ Onion-skinning method)

        Type:
        :   int in [1, 524287], default 0

    frame_end
    :   End frame of range of paths to display/calculate (not for ‘Around Frame’ Onion-skinning method)

        Type:
        :   int in [-inf, inf], default 0

    frame_start
    :   Starting frame of range of paths to display/calculate (not for ‘Around Frame’ Onion-skinning method)

        Type:
        :   int in [-inf, inf], default 0

    frame_step
    :   Number of frames between paths shown (not for ‘On Keyframes’ Onion-skinning method)

        Type:
        :   int in [1, 100], default 0

    has_motion_paths
    :   Are there any bone paths that will need updating (read-only)

        Type:
        :   boolean, default False, (readonly)

    range
    :   Type of range to calculate for Motion Paths

        Type:
        :   enum in [Motionpath Range Items](bpy_types_enum_items/motionpath_range_items.html#rna-enum-motionpath-range-items), default `'SCENE'`

    show_frame_numbers
    :   Show frame numbers on Motion Paths

        Type:
        :   boolean, default False

    show_keyframe_action_all
    :   For bone motion paths, search whole Action for keyframes instead of in group with matching name only (is slower)

        Type:
        :   boolean, default False

    show_keyframe_highlight
    :   Emphasize position of keyframes on Motion Paths

        Type:
        :   boolean, default False

    show_keyframe_numbers
    :   Show frame numbers of Keyframes on Motion Paths

        Type:
        :   boolean, default False

    type
    :   Type of range to show for Motion Paths

        Type:
        :   enum in [Motionpath Display Type Items](bpy_types_enum_items/motionpath_display_type_items.html#rna-enum-motionpath-display-type-items), default `'RANGE'`

    use_camera_space_bake
    :   Motion path points will be baked into the camera space of the active camera. This means they will only look right when looking through that camera. Switching cameras using markers is not supported.

        Type:
        :   boolean, default False

    *classmethod* bl_rna_get_subclass(*id*, *default=None*, */*)
    :   Parameters:
        :   **id** (*str*) – The RNA type identifier.

        Returns:
        :   The RNA type or default when not found.

        Return type:
        :   [`bpy.types.Struct`](bpy.types.Struct.html#bpy.types.Struct "bpy.types.Struct") subclass

    *classmethod* bl_rna_get_subclass_py(*id*, *default=None*, */*)
    :   Parameters:
        :   **id** (*str*) – The RNA type identifier.

        Returns:
        :   The class or default when not found.

        Return type:
        :   [type](#bpy.types.AnimVizMotionPaths.type "bpy.types.AnimVizMotionPaths.type")