Film kit command
clip.frameHoldOptions
Frame Hold Options
Turns a frame hold on or off for the selected or listed `clips` and chooses the held frame: sourceTimecode, sequenceTime, in, out or playhead; `holdFilters` also freezes effects.
- Kit
- Film 0.1.0 (.kfilm)
- Changes the document
- yes
- Acts on
clips(a list of ids), which a run step’sonfills
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
clip | integer | no | read by the command beside its listed parameters |
clips | integer[] | no | |
enabled | boolean | no | |
frame | integer | no | the time, as a frame of the sequence (one spelling of it) |
holdFilters | boolean | no | |
holdOn | "sourceTimecode" | "sequenceTime" | "in" | "out" | "playhead" | no | |
seconds | number | no | the time, in seconds (one spelling of it) |
time | integer | no | ticks (254016000000 per second) |
timecode | string | no |
Call through film_run
text
film_run {
"path": "<file>.kfilm",
"steps": [{ "command": "clip.frameHoldOptions" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: clip, clips, enabled, frame, holdFilters, holdOn, seconds, time, timecode. film_run answers the step’s result in completed[i].result.
Result
The kit gives no result schema for this command.
Parameter schema
json
{
"additionalProperties": false,
"properties": {
"clip": {
"description": "read by the command beside its listed parameters",
"type": "integer",
"x-khp-types": [
"Clip"
]
},
"clips": {
"items": {
"description": "an id",
"type": "integer"
},
"type": "array",
"x-khp-types": [
"Clip"
]
},
"enabled": {
"default": true,
"type": "boolean"
},
"frame": {
"description": "the time, as a frame of the sequence (one spelling of it)",
"type": "integer"
},
"holdFilters": {
"default": false,
"type": "boolean"
},
"holdOn": {
"enum": [
"sourceTimecode",
"sequenceTime",
"in",
"out",
"playhead"
],
"type": "string"
},
"seconds": {
"description": "the time, in seconds (one spelling of it)",
"type": "number"
},
"time": {
"description": "ticks (254016000000 per second)",
"type": "integer"
},
"timecode": {
"type": "string"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (film_commands through @kition/[email protected], built from KitionAI/kition-film@375db59). As data: commands.jsonl.