Vector kit command

asset.settings.set

Asset Export Settings

Changes the export settings the Asset Export panel and Export for Screens share.

Kit
Vector 0.1.0 (.kvector)
Changes the document
yes

Parameters

Parameters of asset.settings.set
NameTypeRequiredDescription
antiAlias"none" | "art" | "type"no
formatsobject[]no
prefixstringno
preset"mobile" | "density" | ""no
settingsobjectno
subfoldersbooleanno

Call through vector_run

text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "asset.settings.set" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: antiAlias, formats, prefix, preset, settings, subfolders. vector_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": {
    "antiAlias": {
      "enum": [
        "none",
        "art",
        "type"
      ],
      "type": "string"
    },
    "formats": {
      "items": {
        "additionalProperties": true,
        "type": "object"
      },
      "type": "array"
    },
    "prefix": {
      "type": "string"
    },
    "preset": {
      "enum": [
        "mobile",
        "density",
        ""
      ],
      "type": "string"
    },
    "settings": {
      "additionalProperties": true,
      "type": "object"
    },
    "subfolders": {
      "type": "boolean"
    }
  },
  "returns": "{settings}. Not an undo step",
  "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.