Motion kit command
renderQueue.setRenderSettings
Render Settings
Changes a Render Queue item's render settings: `quality`, `resolution`, proxies, effects and solo overrides, `colorDepth`, frame blending, motion blur, `timeSpan` (workArea, comp or custom with `start`/`end` seconds), `frameRate`, or a `template`.
- Kit
- Motion 0.1.0 (.kmotion)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
colorDepth | "current" | "8" | "16" | "32" | no | current|8|16|32 |
comp | integer | string | no | read by the command beside its listed parameters |
duration | number | no | s |
effects | "current" | "allOn" | "allOff" | no | |
end | number | no | s |
fieldRender | "off" | "upper" | "lower" | no | |
frameBlending | "current" | "onForChecked" | "offForAll" | no | |
frameRate | any | no | fps|null |
guideLayers | "current" | "allOff" | no | |
index | integer | no | a position counted from 0 (the first is 0); one of several alternative parameters |
item | integer | no | one of several alternative parameters |
layer | integer | string | no | read by the command beside its listed parameters |
layers | any[] | no | read by the command beside its listed parameters |
motionBlur | boolean | no | bool|current|onForChecked|offForAll |
proxyUse | "current" | "all" | "comp" | "none" | no | |
pulldown | "off" | "WSSWW" | "SSWWW" | "SWWWS" | "WWWSS" | "WWSSW" | no | |
quality | "best" | "draft" | no | |
resolution | number | no | full|half|third|quarter|scale |
skipExisting | boolean | no | |
solo | "current" | "allOff" | no | |
start | number | no | s |
storageOverflow | boolean | no | |
template | string | no | |
timeSpan | "workArea" | "comp" | "custom" | no | |
tracker | integer | string | no | read by the command beside its listed parameters |
Call through motion_run
motion_run {
"path": "<file>.kmotion",
"steps": [{ "command": "renderQueue.setRenderSettings" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: colorDepth, comp, duration, effects, end, fieldRender, frameBlending, frameRate, guideLayers, index, item, layer, layers, motionBlur, proxyUse, pulldown, quality, resolution, skipExisting, solo, start, storageOverflow, template, timeSpan, tracker. 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": {
"colorDepth": {
"description": "current|8|16|32",
"enum": [
"current",
"8",
"16",
"32"
],
"type": "string"
},
"comp": {
"description": "read by the command beside its listed parameters",
"oneOf": [
{
"description": "comp's item id as motion_inspect lists it",
"type": "integer"
},
{
"description": "the item id as receipts print it (\"1\"), or the comp's name",
"type": "string"
}
]
},
"duration": {
"description": "s",
"type": "number"
},
"effects": {
"enum": [
"current",
"allOn",
"allOff"
],
"type": "string"
},
"end": {
"description": "s",
"type": "number"
},
"fieldRender": {
"enum": [
"off",
"upper",
"lower"
],
"type": "string"
},
"frameBlending": {
"enum": [
"current",
"onForChecked",
"offForAll"
],
"type": "string"
},
"frameRate": {
"description": "fps|null"
},
"guideLayers": {
"enum": [
"current",
"allOff"
],
"type": "string"
},
"index": {
"description": "a position counted from 0 (the first is 0); one of several alternative parameters",
"type": "integer"
},
"item": {
"description": "one of several alternative parameters",
"type": "integer"
},
"layer": {
"description": "read by the command beside its listed parameters",
"oneOf": [
{
"description": "layer id as motion_inspect lists it (when no layer has that id, its 1-based stack position)",
"type": "integer"
},
{
"description": "layer id as receipts print it (\"51\"), a layer name, or #n for the n-th from the top",
"type": "string"
}
]
},
"layers": {
"description": "read by the command beside its listed parameters",
"type": "array"
},
"motionBlur": {
"description": "bool|current|onForChecked|offForAll",
"type": "boolean"
},
"proxyUse": {
"enum": [
"current",
"all",
"comp",
"none"
],
"type": "string"
},
"pulldown": {
"enum": [
"off",
"WSSWW",
"SSWWW",
"SWWWS",
"WWWSS",
"WWSSW"
],
"type": "string"
},
"quality": {
"enum": [
"best",
"draft"
],
"type": "string"
},
"resolution": {
"description": "full|half|third|quarter|scale",
"type": "number"
},
"skipExisting": {
"type": "boolean"
},
"solo": {
"enum": [
"current",
"allOff"
],
"type": "string"
},
"start": {
"description": "s",
"type": "number"
},
"storageOverflow": {
"type": "boolean"
},
"template": {
"type": "string"
},
"timeSpan": {
"enum": [
"workArea",
"comp",
"custom"
],
"type": "string"
},
"tracker": {
"description": "read by the command beside its listed parameters",
"oneOf": [
{
"type": "integer"
},
{
"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.