Vector kit command

view.proofSetup

Proof Setup

Sets the soft-proof target (a CMYK profile or a colour-blindness simulation), intent and paper simulation; answers the proof state.

Kit
Vector 0.1.0 (.kvector)
Changes the document
no

Parameters

Parameters of view.proofSetup
NameTypeRequiredDescription
intent"perceptual" | "relative" | "saturation" | "absolute"no
proofbooleannoalso turn Proof Colors on
simulatePaperbooleanno
target"workingCmyk" | "cmyk:<profile>" | "legacyMacRgb" | "srgb" | "monitorRgb" | "protanopia" | "deuteranopia"no

Call through vector_run

text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "view.proofSetup" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: intent, proof, simulatePaper, target. vector_run answers the step’s result in completed[i].result.

Result

Result of view.proofSetup
NameTypeRequiredDescription
intentstringno
overprintPreviewbooleanno
proofColorsbooleanno
separationsanyno
simulatePaperbooleanno
targetstringno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "intent": {
      "type": "string"
    },
    "overprintPreview": {
      "type": "boolean"
    },
    "proofColors": {
      "type": "boolean"
    },
    "separations": {},
    "simulatePaper": {
      "type": "boolean"
    },
    "target": {
      "type": "string"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "intent": {
      "enum": [
        "perceptual",
        "relative",
        "saturation",
        "absolute"
      ],
      "type": "string"
    },
    "proof": {
      "description": "also turn Proof Colors on",
      "type": "boolean"
    },
    "simulatePaper": {
      "type": "boolean"
    },
    "target": {
      "enum": [
        "workingCmyk",
        "cmyk:<profile>",
        "legacyMacRgb",
        "srgb",
        "monitorRgb",
        "protanopia",
        "deuteranopia"
      ],
      "type": "string"
    }
  },
  "returns": "proof state",
  "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.