Edit F-Curve Keys
edit_fcurve_keysModify existing animation keys by snapshot index: update values, set linear/spline/step interpolation, and adjust auto or manual tangents. Batch edits are preflighted and applied as a single undo group.
Instructions
Edit existing REAL keys by snapshot index: values, linear/spline/step interpolation, automatic or manual tangents. Left/right are signed offsets, not absolute control-point positions. Manual takeover splits handles and disables automatic/clamp/auto-weight/overshoot/tangent-lock options; key time/value locks are respected. Read get_fcurve first and avoid simultaneous scene edits. Preflights the complete batch before a single undo-grouped track update. Does not create keys or edit coupled XYZ/time tracks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Time base, default document FPS. | |
| path | No | Full DescID as [[id,dtype,creator],...], from list_user_data desc_id or list_tracks path. For a vector append a REAL x/y/z DescLevel. Exclusive with param_id/component/dtype. | |
| edits | Yes | ||
| handle | Yes | Entity with an existing REAL value track. | |
| param_id | No | Legacy top-level parameter id; exclusive with path. | |
| component | No | Legacy vector component with param_id; HPB rotation maps to x/y/z. Omit with path. | |
| document_name | Yes | Exact active document name. A mismatch is rejected; this tool never switches documents. |