Motion kit command
file.reloadFootage
Reload Footage
Reload items `ids`. `undoable` makes it an edit; otherwise it records the disk without modifying the project, and an item whose file can't be read now (another app is still writing it) is left as it was. Returns the number reloaded and the files that couldn't be read (only without `undoable`).
- Kit
- Motion 0.1.0 (.kmotion)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
item | integer | no | read by the command beside its listed parameters |
items | integer[] | no |
Call through motion_run
text
motion_run {
"path": "<file>.kmotion",
"steps": [{ "command": "file.reloadFootage" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: item, items. motion_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": {
"item": {
"description": "read by the command beside its listed parameters",
"type": "integer",
"x-khp-name": "name",
"x-khp-types": [
"Item"
]
},
"items": {
"items": {
"type": "integer",
"x-khp-name": "name",
"x-khp-role": "object",
"x-khp-types": [
"Item"
]
},
"type": "array",
"x-khp-types": [
"Item"
]
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (motion_commands through @kition/[email protected], built from KitionAI/kition-motion@4719aa7). As data: commands.jsonl.