Motion kit command
file.projectSettings
Project Settings
Changes project settings: `bitDepth` 8|16|32, colour engine and `workingSpace`, `linearize`, `blendLinear`, HDR handling, `outputSpace`, renderer gpu|software and `timeDisplay` (timecode or frames). Affects every comp's rendering.
- Kit
- Motion 0.1.0 (.kmotion)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
bitDepth | 8 | 16 | 32 | no | |
blendLinear | boolean | no | |
colorEngine | "adobe" | "ocio" | no | |
hdr | "clip" | "compand" | "toneMap" | no | |
linearize | boolean | no | |
outputSpace | "srgb" | "rec709" | "rec2020" | "p3" | "rec2100pq" | "rec2100hlg" | no | |
renderer | "gpu" | "software" | no | |
timeDisplay | string | no | timecode|frames|feet35|feet16 |
workingGamma | number | no | with no working space |
workingSpace | "none" | "srgb" | "rec709" | "rec2020" | "p3" | "acescg" | "aces2065" | no |
Call through motion_run
motion_run {
"path": "<file>.kmotion",
"steps": [{ "command": "file.projectSettings" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: bitDepth, blendLinear, colorEngine, hdr, linearize, outputSpace, renderer, timeDisplay, workingGamma, workingSpace. motion_run answers the step’s result in completed[i].result.
Result
The kit gives no result schema for this command.
Parameter schema
{
"additionalProperties": false,
"properties": {
"bitDepth": {
"enum": [
8,
16,
32
],
"type": "integer"
},
"blendLinear": {
"type": "boolean"
},
"colorEngine": {
"enum": [
"adobe",
"ocio"
],
"type": "string"
},
"hdr": {
"enum": [
"clip",
"compand",
"toneMap"
],
"type": "string"
},
"linearize": {
"type": "boolean"
},
"outputSpace": {
"enum": [
"srgb",
"rec709",
"rec2020",
"p3",
"rec2100pq",
"rec2100hlg"
],
"type": "string"
},
"renderer": {
"enum": [
"gpu",
"software"
],
"type": "string"
},
"timeDisplay": {
"description": "timecode|frames|feet35|feet16",
"type": "string"
},
"workingGamma": {
"default": 2.2,
"description": "with no working space",
"type": "number"
},
"workingSpace": {
"enum": [
"none",
"srgb",
"rec709",
"rec2020",
"p3",
"acescg",
"aces2065"
],
"type": "string"
}
},
"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.