Scene kit command

node.addOutput

Add Group Output

Adds an output socket of `type` to node group `group`'s interface.

Kit
Scene 0.1.0 (.kscene)
Changes the document
yes

Parameters

Parameters of node.addOutput
NameTypeRequiredDescription
groupinteger | stringnoThe group's id or name; the only group when left out
namestringyesThe output's name, unique in the group (a Group node using the group gives it)
type"geometry" | "float" | "int" | "bool" | "vector" | "rotation"yesWhat the output carries

Call through scene_run

text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "node.addOutput", "params": { "name": <string>, "type": <"geometry" | "float" | "int" | "bool" | "vector" | "rotation"> } }]
}

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 output's name, unique in the group (a Group node using the group gives it)",
      "type": "string"
    },
    "type": {
      "description": "What the output carries",
      "enum": [
        "geometry",
        "float",
        "int",
        "bool",
        "vector",
        "rotation"
      ],
      "type": "string"
    }
  },
  "required": [
    "name",
    "type"
  ],
  "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.