Motion kit command

keyframe.selectLabelGroup

Select Keyframe Label Group

Select every keyframe that shares a label with a selected keyframe, on the selected or all layers. `visible` (property uids revealed in the Timeline) limits the "Visible Keyframes" scopes; without it every property counts as visible.

Kit
Motion 0.1.0 (.kmotion)
Changes the document
yes

Parameters

Parameters of keyframe.selectLabelGroup
NameTypeRequiredDescription
scope"selected" | "all" | "visibleSelected" | "visibleAll"no
visibleany[]no[prop uid]

Call through motion_run

text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "keyframe.selectLabelGroup" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: scope, visible. 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": {
    "scope": {
      "enum": [
        "selected",
        "all",
        "visibleSelected",
        "visibleAll"
      ],
      "type": "string"
    },
    "visible": {
      "description": "[prop uid]",
      "items": {},
      "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.