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

Parameters of renderQueue.setRenderSettings
NameTypeRequiredDescription
colorDepth"current" | "8" | "16" | "32"nocurrent|8|16|32
compinteger | stringnoread by the command beside its listed parameters
durationnumbernos
effects"current" | "allOn" | "allOff"no
endnumbernos
fieldRender"off" | "upper" | "lower"no
frameBlending"current" | "onForChecked" | "offForAll"no
frameRateanynofps|null
guideLayers"current" | "allOff"no
indexintegernoa position counted from 0 (the first is 0); one of several alternative parameters
itemintegernoone of several alternative parameters
layerinteger | stringnoread by the command beside its listed parameters
layersany[]noread by the command beside its listed parameters
motionBlurbooleannobool|current|onForChecked|offForAll
proxyUse"current" | "all" | "comp" | "none"no
pulldown"off" | "WSSWW" | "SSWWW" | "SWWWS" | "WWWSS" | "WWSSW"no
quality"best" | "draft"no
resolutionnumbernofull|half|third|quarter|scale
skipExistingbooleanno
solo"current" | "allOff"no
startnumbernos
storageOverflowbooleanno
templatestringno
timeSpan"workArea" | "comp" | "custom"no
trackerinteger | stringnoread by the command beside its listed parameters

Call through motion_run

text
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

json
{
  "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.