Vector kit command
select.anchorsMany
Select Anchors
Sets, adds, toggles or subtracts direct-selected anchors on several paths at once.
- Kit
- Vector 0.1.0 (.kvector)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
add | boolean | no | read by the command beside its listed parameters |
anchors | any[] | no | read by the command beside its listed parameters |
ids | any[] | no | read by the command beside its listed parameters |
items | object[] | no | [{id, anchors}] |
mode | "set" | "add" | "toggle" | "subtract" | no | set by default; add: true is mode add |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "select.anchorsMany" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: add, anchors, ids, items, mode. vector_run answers the step’s result in completed[i].result.
Result
Result JSON Schema
json
{}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"add": {
"description": "read by the command beside its listed parameters",
"type": "boolean"
},
"anchors": {
"description": "read by the command beside its listed parameters",
"type": "array"
},
"ids": {
"description": "read by the command beside its listed parameters",
"type": "array"
},
"items": {
"description": "[{id, anchors}]",
"items": {
"additionalProperties": true,
"properties": {
"anchors": {},
"id": {
"description": "object ID",
"type": "integer",
"x-khp-role": "object",
"x-khp-types": [
"Node"
]
}
},
"type": "object"
},
"type": "array"
},
"mode": {
"description": "set by default; add: true is mode add",
"enum": [
"set",
"add",
"toggle",
"subtract"
],
"type": "string"
}
},
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (vector_commands through @kition/[email protected], built from KitionAI/kition-vector@7cf908f). As data: commands.jsonl.