Scene kit command

node.removeZoneItem

Remove Zone Item

Removes an item from a repeat or simulation zone node's state.

Kit
Scene 0.1.0 (.kscene)
Changes the document
yes

Parameters

Parameters of node.removeZoneItem
NameTypeRequiredDescription
groupinteger | stringnoThe group's id or name; the only group when left out
namestringyesThe item's name
nodeintegeryesEither node of the zone: its id

Call through scene_run

text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "node.removeZoneItem", "params": { "name": <string>, "node": <integer> } }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: group. scene_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": {
    "group": {
      "description": "The group's id or name; the only group when left out",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "NodeGroup"
      ]
    },
    "name": {
      "description": "The item's name",
      "type": "string"
    },
    "node": {
      "description": "Either node of the zone: its id",
      "type": "integer",
      "x-khp-types": [
        "Node"
      ]
    }
  },
  "required": [
    "name",
    "node"
  ],
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (scene_commands through @kition/[email protected], built from KitionAI/kition-scene@4d06faf). As data: commands.jsonl.