Vector kit command
prefs.reset
Reset Preferences
Resets one preference category, or all preferences, to their defaults.
- Kit
- Vector 0.1.0 (.kvector)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
category | string | no |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "prefs.reset" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: category. vector_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
prefs | object | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"prefs": {
"additionalProperties": true,
"properties": {
"aicbMode": {
"type": "string"
},
"alignmentGuides": {
"type": "boolean"
},
"anchorPathLabels": {
"type": "boolean"
},
"anchorSize": {
"type": "number"
},
"animatedZoom": {
"type": "boolean"
},
"antiAliasedArtwork": {
"type": "boolean"
},
"antiAliasedBitmaps": {
"type": "boolean"
},
"autoCollapseIconPanels": {
"type": "boolean"
},
"autoSizeAreaType": {
"type": "boolean"
},
"autosaveInterval": {
"type": "number"
},
"autosaveRecovery": {
"type": "boolean"
},
"backgroundExport": {
"type": "boolean"
},
"backgroundSave": {
"type": "boolean"
},
"baselineShiftIncrement": {
"type": "number"
},
"blackOnScreen": {
"type": "string"
},
"blackOutput": {
"type": "string"
},
"canvasColor": {
"type": "string"
},
"constrainAngle": {
"type": "number"
},
"constrainProportions": {
"type": "boolean"
},
"constructionAngles": {
"type": "string"
},
"constructionGuides": {
"type": "boolean"
},
"copyAicb": {
"type": "boolean"
},
"copyAsPdf": {
"type": "boolean"
},
"copyAsSvg": {
"type": "boolean"
},
"cornerRadius": {
"type": "number"
},
"ctrlClickSelectsBehind": {
"type": "boolean"
},
"curvatureRubberBand": {
"type": "boolean"
},
"disableAutoAddDelete": {
"type": "boolean"
},
"displayPrintSize": {
"type": "boolean"
},
"doubleClickToIsolate": {
"type": "boolean"
},
"eyedropper": {
"additionalProperties": true,
"properties": {
"apply": {
"additionalProperties": true,
"type": "object"
},
"pickUp": {
"additionalProperties": true,
"type": "object"
},
"sampleSize": {
"type": "number"
}
},
"type": "object"
},
"fontNamesInEnglish": {
"type": "boolean"
},
"fontPreview": {
"type": "boolean"
},
"fontPreviewSize": {
"type": "string"
},
"fontsFolder": {
"type": "string"
},
"gpuPerformance": {
"type": "boolean"
},
"gpuPreference": {
"type": "string"
},
"gridColor": {
"type": "string"
},
"gridStyle": {
"type": "string"
},
"gridSubdivisions": {
"type": "number"
},
"gridlineEvery": {
"type": "number"
},
"gridsInBack": {
"type": "boolean"
},
"guideColor": {
"type": "string"
},
"guideStyle": {
"type": "string"
},
"handleStyle": {
"type": "string"
},
"hideCornerWidgetAbove": {
"type": "number"
},
"highlightAlternateGlyphs": {
"type": "boolean"
},
"highlightAnchorsOnHover": {
"type": "boolean"
},
"historyStates": {
"type": "number"
},
"hyphenationExceptions": {
"type": "string"
},
"hyphenationLanguage": {
"type": "string"
},
"identifyObjectsBy": {
"type": "string"
},
"interfaceLanguage": {
"type": "string"
},
"japaneseCropMarks": {
"type": "boolean"
},
"keyboardIncrement": {
"type": "number"
},
"largeTabs": {
"type": "boolean"
},
"lowResProxyEps": {
"type": "boolean"
},
"measurementLabels": {
"type": "boolean"
},
"missingGlyphProtection": {
"type": "boolean"
},
"moveLockedWithArtboard": {
"type": "boolean"
},
"newArtBasic": {
"type": "boolean"
},
"numbersWithoutUnitsArePoints": {
"type": "boolean"
},
"objectHighlighting": {
"type": "boolean"
},
"objectSelectionByPathOnly": {
"type": "boolean"
},
"openDocumentsAsTabs": {
"type": "boolean"
},
"overrideCharColor": {
"type": "boolean"
},
"pasteOffset": {
"type": "number"
},
"pasteTextFormatting": {
"type": "string"
},
"patternTileEdgeColor": {
"type": "string"
},
"penRubberBand": {
"type": "boolean"
},
"perspectiveWidget": {
"additionalProperties": true,
"properties": {
"position": {
"type": "string"
},
"show": {
"type": "boolean"
}
},
"type": "object"
},
"placeholderText": {
"type": "boolean"
},
"pluginsFolder": {
"type": "string"
},
"realTimeDrawing": {
"type": "boolean"
},
"recentFilesCount": {
"type": "number"
},
"recentFontsCount": {
"type": "number"
},
"recoveryFolder": {
"type": "string"
},
"recoveryOffForComplex": {
"type": "boolean"
},
"renderThreads": {
"type": "number"
},
"scaleCorners": {
"type": "boolean"
},
"scaleCursorWithUi": {
"type": "boolean"
},
"scaleStrokes": {
"type": "boolean"
},
"scratchPrimary": {
"type": "string"
},
"scratchSecondary": {
"type": "string"
},
"scrubNumericFields": {
"type": "boolean"
},
"selectSameTintPercent": {
"type": "boolean"
},
"selectionTolerance": {
"type": "number"
},
"showEastAsianOptions": {
"type": "boolean"
},
"showHandlesMultipleAnchors": {
"type": "boolean"
},
"showHomeScreen": {
"type": "boolean"
},
"showIndicOptions": {
"type": "boolean"
},
"showPixelGrid": {
"type": "boolean"
},
"showSliceNumbers": {
"type": "boolean"
},
"showToolTips": {
"type": "boolean"
},
"sliceLineColor": {
"type": "string"
},
"smartGuideColor": {
"type": "string"
},
"snapToPointTolerance": {
"type": "number"
},
"snappingTolerance": {
"type": "number"
},
"spacingGuides": {
"type": "boolean"
},
"systemTitleBar": {
"type": "boolean"
},
"templatesFolder": {
"type": "string"
},
"toolGroupLabels": {
"type": "boolean"
},
"touchGestures": {
"type": "boolean"
},
"touchWorkspace": {
"type": "boolean"
},
"trackingIncrement": {
"type": "number"
},
"transformPatternTiles": {
"type": "boolean"
},
"transformToolsGuides": {
"type": "boolean"
},
"typeSelectionByPathOnly": {
"type": "boolean"
},
"typeSizeIncrement": {
"type": "number"
},
"uiBrightness": {
"type": "string"
},
"uiScaling": {
"type": "number"
},
"unitsAsianType": {
"type": "string"
},
"unitsGeneral": {
"type": "string"
},
"unitsStroke": {
"type": "string"
},
"unitsType": {
"type": "string"
},
"updateLinks": {
"type": "string"
},
"useCompression": {
"type": "boolean"
},
"usePreciseCursors": {
"type": "boolean"
},
"usePreviewBounds": {
"type": "boolean"
},
"zoomToSelection": {
"type": "boolean"
},
"zoomWithMouseWheel": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"category": {
"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.