Motion kit command
project.summary
Project Summary
Returns every project item: id, name, type (composition, footage, solid, folder), label, parent folder, size, duration, and for comps their layer count and frame rate. Start here to find comp and item ids.
- Kit
- Motion 0.1.0 (.kmotion)
- Changes the document
- no
Parameters
None.
Call through motion_run
text
motion_run {
"path": "<file>.kmotion",
"steps": [{ "command": "project.summary" }]
}The required parameters, with placeholders for their types: not a tested example. motion_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
activeComp | integer | no | |
bitDepth | string | no | |
dirty | boolean | no | |
items | object[] | no | |
path | any | no | |
renderer | object | no | |
selectedLayers | integer[] | no | |
selection | integer[] | no | |
time | number | no | |
undo | string[] | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"activeComp": {
"type": "integer"
},
"bitDepth": {
"type": "string"
},
"dirty": {
"type": "boolean"
},
"items": {
"items": {
"additionalProperties": true,
"properties": {
"duration": {
"type": "number"
},
"footage": {},
"frameRate": {
"type": "number"
},
"id": {
"type": "integer"
},
"label": {
"type": "string"
},
"layers": {
"type": "integer"
},
"name": {
"type": "string"
},
"parent": {},
"size": {
"items": {
"type": "integer"
},
"type": "array"
},
"type": {
"type": "string"
},
"uses": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
},
"path": {},
"renderer": {
"additionalProperties": true,
"properties": {
"active": {
"type": "string"
},
"adapter": {},
"gpuAcceleration": {
"type": "boolean"
},
"renderer": {
"type": "string"
},
"why": {
"type": "string"
}
},
"type": "object"
},
"selectedLayers": {
"items": {
"type": "integer"
},
"type": "array"
},
"selection": {
"items": {
"type": "integer"
},
"type": "array"
},
"time": {
"type": "number"
},
"undo": {
"items": {
"type": "string"
},
"type": "array"
}
},
"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.