Get Keyframes
get_keyframesExtract animation keyframes from Cinema 4D tracks with frame, value, and interpolation data. Clip exact key times to an inclusive frame range without rounding subframes.
Instructions
Read keys using a full path from list_tracks or legacy param_id/component. Returns [{frame, value, interp}], preserving fractional frame positions. Optional integer start_frame/end_frame clip the exact key times inclusively without rounding subframes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | Override for BaseTime to frame conversion. | |
| 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. | |
| handle | Yes | Animated entity. | |
| 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. | |
| end_frame | No | Inclusive upper frame bound. | |
| start_frame | No | Inclusive lower frame bound. |