---
title: "dimensionStyle.open: Dimension Style... — CAD kit command — Kition"
description: "Creates or changes a dimension style from style fields or DIM variables, and by default makes it current; answers the styles."
canonical: "https://developer.kition.ai/docs/kits/cad/commands/dimensionStyle.open"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/cad/commands/dimensionStyle.open](https://developer.kition.ai/docs/kits/cad/commands/dimensionStyle.open)

# dimensionStyle.open

**Dimension Style....** Creates or changes a dimension style from style fields or DIM variables, and by default makes it current; answers the styles.

- Kit: CAD 0.1.0 (.dxf); reference: [CAD kit commands](https://developer.kition.ai/docs/kits/cad.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `DIMADEC` | `boolean \| number \| string` | no |  |
| `DIMALT` | `boolean \| number \| string` | no |  |
| `DIMALTD` | `boolean \| number \| string` | no |  |
| `DIMALTF` | `boolean \| number \| string` | no |  |
| `DIMALTRND` | `boolean \| number \| string` | no |  |
| `DIMALTU` | `boolean \| number \| string` | no |  |
| `DIMALTZ` | `boolean \| number \| string` | no |  |
| `DIMAPOST` | `string \| number` | no |  |
| `DIMASZ` | `boolean \| number \| string` | no |  |
| `DIMAUNIT` | `boolean \| number \| string` | no |  |
| `DIMBLK` | `string` | no |  |
| `DIMBLK1` | `string \| number` | no |  |
| `DIMBLK2` | `string \| number` | no |  |
| `DIMCEN` | `boolean \| number \| string` | no |  |
| `DIMCLRD` | `object \| number \| string` | no |  |
| `DIMCLRE` | `object \| number \| string` | no |  |
| `DIMCLRT` | `object \| number \| string` | no |  |
| `DIMDEC` | `boolean \| number \| string` | no |  |
| `DIMDLE` | `boolean \| number \| string` | no |  |
| `DIMDLI` | `boolean \| number \| string` | no |  |
| `DIMDSEP` | `string \| number` | no |  |
| `DIMEXE` | `boolean \| number \| string` | no |  |
| `DIMEXO` | `boolean \| number \| string` | no |  |
| `DIMFRAC` | `boolean \| number \| string` | no |  |
| `DIMGAP` | `boolean \| number \| string` | no |  |
| `DIMJUST` | `boolean \| number \| string` | no |  |
| `DIMLFAC` | `boolean \| number \| string` | no |  |
| `DIMLIM` | `boolean \| number \| string` | no |  |
| `DIMLUNIT` | `boolean \| number \| string` | no |  |
| `DIMPOST` | `string \| number` | no |  |
| `DIMRND` | `boolean \| number \| string` | no |  |
| `DIMSCALE` | `boolean \| number \| string` | no |  |
| `DIMSE1` | `boolean \| number \| string` | no |  |
| `DIMSE2` | `boolean \| number \| string` | no |  |
| `DIMTAD` | `integer` | no |  |
| `DIMTDEC` | `boolean \| number \| string` | no |  |
| `DIMTFAC` | `boolean \| number \| string` | no |  |
| `DIMTIH` | `boolean \| number \| string` | no |  |
| `DIMTM` | `boolean \| number \| string` | no |  |
| `DIMTOH` | `boolean \| number \| string` | no |  |
| `DIMTOL` | `boolean \| number \| string` | no |  |
| `DIMTP` | `boolean \| number \| string` | no |  |
| `DIMTSZ` | `number` | no |  |
| `DIMTXSTY` | `string \| number` | no |  |
| `DIMTXT` | `boolean \| number \| string` | no |  |
| `DIMTZIN` | `boolean \| number \| string` | no |  |
| `DIMZIN` | `boolean \| number \| string` | no |  |
| `alt` | `boolean \| number \| string` | no |  |
| `altDecimals` | `boolean \| number \| string` | no |  |
| `altFactor` | `boolean \| number \| string` | no |  |
| `altPost` | `string \| number` | no |  |
| `altRound` | `boolean \| number \| string` | no |  |
| `altUnit` | `boolean \| number \| string` | no |  |
| `altZeroSuppression` | `boolean \| number \| string` | no |  |
| `angularDecimals` | `boolean \| number \| string` | no |  |
| `angularUnit` | `boolean \| number \| string` | no |  |
| `annotative` | `boolean \| number \| string` | no |  |
| `arrowBlock` | `string \| number` | no |  |
| `arrowBlock1` | `string \| number` | no |  |
| `arrowBlock2` | `string \| number` | no |  |
| `arrowSize` | `boolean \| number \| string` | no |  |
| `baselineSpacing` | `boolean \| number \| string` | no |  |
| `centerMark` | `boolean \| number \| string` | no |  |
| `current` | `boolean` | no | make it the current style; default true |
| `decimalSeparator` | `string \| number` | no |  |
| `decimals` | `boolean \| number \| string` | no |  |
| `dimLineColor` | `object \| number \| string` | no |  |
| `dimLineExtend` | `boolean \| number \| string` | no |  |
| `extExtend` | `boolean \| number \| string` | no |  |
| `extLineColor` | `object \| number \| string` | no |  |
| `extOffset` | `boolean \| number \| string` | no |  |
| `fractionFormat` | `boolean \| number \| string` | no |  |
| `limits` | `boolean \| number \| string` | no |  |
| `linearFactor` | `boolean \| number \| string` | no |  |
| `linearUnit` | `boolean \| number \| string` | no |  |
| `name` | `string` | no |  |
| `post` | `string \| number` | no |  |
| `round` | `boolean \| number \| string` | no |  |
| `scale` | `boolean \| number \| string` | no |  |
| `suppressExt1` | `boolean \| number \| string` | no |  |
| `suppressExt2` | `boolean \| number \| string` | no |  |
| `textAbove` | `boolean \| number \| string` | no |  |
| `textColor` | `object \| number \| string` | no |  |
| `textGap` | `boolean \| number \| string` | no |  |
| `textHeight` | `boolean \| number \| string` | no |  |
| `textInsideHorizontal` | `boolean \| number \| string` | no |  |
| `textJust` | `boolean \| number \| string` | no |  |
| `textOutsideHorizontal` | `boolean \| number \| string` | no |  |
| `textStyle` | `string \| number` | no |  |
| `tickSize` | `boolean \| number \| string` | no |  |
| `tolDecimals` | `boolean \| number \| string` | no |  |
| `tolMinus` | `boolean \| number \| string` | no |  |
| `tolPlus` | `boolean \| number \| string` | no |  |
| `tolScale` | `boolean \| number \| string` | no |  |
| `tolZeroSuppression` | `boolean \| number \| string` | no |  |
| `tolerance` | `boolean \| number \| string` | no |  |
| `zeroSuppression` | `boolean \| number \| string` | no |  |

## Call through cad_run

```text
cad_run {
  "path": "<file>.dxf",
  "steps": [{ "command": "dimensionStyle.open" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `DIMADEC`, `DIMALT`, `DIMALTD`, `DIMALTF`, `DIMALTRND`, `DIMALTU`, `DIMALTZ`, `DIMAPOST`, `DIMASZ`, `DIMAUNIT`, `DIMBLK`, `DIMBLK1`, `DIMBLK2`, `DIMCEN`, `DIMCLRD`, `DIMCLRE`, `DIMCLRT`, `DIMDEC`, `DIMDLE`, `DIMDLI`, `DIMDSEP`, `DIMEXE`, `DIMEXO`, `DIMFRAC`, `DIMGAP`, `DIMJUST`, `DIMLFAC`, `DIMLIM`, `DIMLUNIT`, `DIMPOST`, `DIMRND`, `DIMSCALE`, `DIMSE1`, `DIMSE2`, `DIMTAD`, `DIMTDEC`, `DIMTFAC`, `DIMTIH`, `DIMTM`, `DIMTOH`, `DIMTOL`, `DIMTP`, `DIMTSZ`, `DIMTXSTY`, `DIMTXT`, `DIMTZIN`, `DIMZIN`, `alt`, `altDecimals`, `altFactor`, `altPost`, `altRound`, `altUnit`, `altZeroSuppression`, `angularDecimals`, `angularUnit`, `annotative`, `arrowBlock`, `arrowBlock1`, `arrowBlock2`, `arrowSize`, `baselineSpacing`, `centerMark`, `current`, `decimalSeparator`, `decimals`, `dimLineColor`, `dimLineExtend`, `extExtend`, `extLineColor`, `extOffset`, `fractionFormat`, `limits`, `linearFactor`, `linearUnit`, `name`, `post`, `round`, `scale`, `suppressExt1`, `suppressExt2`, `textAbove`, `textColor`, `textGap`, `textHeight`, `textInsideHorizontal`, `textJust`, `textOutsideHorizontal`, `textStyle`, `tickSize`, `tolDecimals`, `tolMinus`, `tolPlus`, `tolScale`, `tolZeroSuppression`, `tolerance`, `zeroSuppression`. cad_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": {
    "DIMADEC": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMALT": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMALTD": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMALTF": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMALTRND": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMALTU": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMALTZ": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMAPOST": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ]
    },
    "DIMASZ": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMAUNIT": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMBLK": {
      "type": "string",
      "x-khp-name": "name",
      "x-khp-types": [
        "Block"
      ]
    },
    "DIMBLK1": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "Block"
      ]
    },
    "DIMBLK2": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "Block"
      ]
    },
    "DIMCEN": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMCLRD": {
      "oneOf": [
        {
          "additionalProperties": false,
          "properties": {
            "kind": {
              "enum": [
                "byLayer",
                "byBlock",
                "aci",
                "rgb"
              ],
              "type": "string"
            },
            "value": {
              "oneOf": [
                {
                  "type": "integer"
                },
                {
                  "items": {
                    "type": "integer"
                  },
                  "type": "array"
                }
              ]
            }
          },
          "type": "object"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMCLRE": {
      "oneOf": [
        {
          "additionalProperties": false,
          "properties": {
            "kind": {
              "enum": [
                "byLayer",
                "byBlock",
                "aci",
                "rgb"
              ],
              "type": "string"
            },
            "value": {
              "oneOf": [
                {
                  "type": "integer"
                },
                {
                  "items": {
                    "type": "integer"
                  },
                  "type": "array"
                }
              ]
            }
          },
          "type": "object"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMCLRT": {
      "oneOf": [
        {
          "additionalProperties": false,
          "properties": {
            "kind": {
              "enum": [
                "byLayer",
                "byBlock",
                "aci",
                "rgb"
              ],
              "type": "string"
            },
            "value": {
              "oneOf": [
                {
                  "type": "integer"
                },
                {
                  "items": {
                    "type": "integer"
                  },
                  "type": "array"
                }
              ]
            }
          },
          "type": "object"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMDEC": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMDLE": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMDLI": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMDSEP": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ]
    },
    "DIMEXE": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMEXO": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMFRAC": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMGAP": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMJUST": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMLFAC": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMLIM": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMLUNIT": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMPOST": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ]
    },
    "DIMRND": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMSCALE": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMSE1": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMSE2": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMTAD": {
      "type": "integer"
    },
    "DIMTDEC": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMTFAC": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMTIH": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMTM": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMTOH": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMTOL": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMTP": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMTSZ": {
      "type": "number"
    },
    "DIMTXSTY": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "TextStyle"
      ]
    },
    "DIMTXT": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMTZIN": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "DIMZIN": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "alt": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "altDecimals": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "altFactor": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "altPost": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ]
    },
    "altRound": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "altUnit": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "altZeroSuppression": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "angularDecimals": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "angularUnit": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "annotative": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "arrowBlock": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "Block"
      ]
    },
    "arrowBlock1": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "Block"
      ]
    },
    "arrowBlock2": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "Block"
      ]
    },
    "arrowSize": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "baselineSpacing": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "centerMark": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "current": {
      "description": "make it the current style; default true",
      "type": "boolean"
    },
    "decimalSeparator": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ]
    },
    "decimals": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "dimLineColor": {
      "oneOf": [
        {
          "additionalProperties": false,
          "properties": {
            "kind": {
              "enum": [
                "byLayer",
                "byBlock",
                "aci",
                "rgb"
              ],
              "type": "string"
            },
            "value": {
              "oneOf": [
                {
                  "type": "integer"
                },
                {
                  "items": {
                    "type": "integer"
                  },
                  "type": "array"
                }
              ]
            }
          },
          "type": "object"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "dimLineExtend": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "extExtend": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "extLineColor": {
      "oneOf": [
        {
          "additionalProperties": false,
          "properties": {
            "kind": {
              "enum": [
                "byLayer",
                "byBlock",
                "aci",
                "rgb"
              ],
              "type": "string"
            },
            "value": {
              "oneOf": [
                {
                  "type": "integer"
                },
                {
                  "items": {
                    "type": "integer"
                  },
                  "type": "array"
                }
              ]
            }
          },
          "type": "object"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "extOffset": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "fractionFormat": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "limits": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "linearFactor": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "linearUnit": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "name": {
      "type": "string",
      "x-khp-name": "name",
      "x-khp-types": [
        "DimStyle"
      ]
    },
    "post": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ]
    },
    "round": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "scale": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "suppressExt1": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "suppressExt2": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "textAbove": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "textColor": {
      "oneOf": [
        {
          "additionalProperties": false,
          "properties": {
            "kind": {
              "enum": [
                "byLayer",
                "byBlock",
                "aci",
                "rgb"
              ],
              "type": "string"
            },
            "value": {
              "oneOf": [
                {
                  "type": "integer"
                },
                {
                  "items": {
                    "type": "integer"
                  },
                  "type": "array"
                }
              ]
            }
          },
          "type": "object"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "textGap": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "textHeight": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "textInsideHorizontal": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "textJust": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "textOutsideHorizontal": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "textStyle": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        }
      ],
      "x-khp-name": "name",
      "x-khp-types": [
        "TextStyle"
      ]
    },
    "tickSize": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "tolDecimals": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "tolMinus": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "tolPlus": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "tolScale": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "tolZeroSuppression": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "tolerance": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    },
    "zeroSuppression": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "number"
        },
        {
          "type": "string"
        }
      ]
    }
  },
  "returns": "styles",
  "type": "object"
}
```

Generated from the command list of @kition/cad-darwin-arm64@0.1.0 and the kit itself (cad_commands through @kition/cli@0.1.1, built from KitionAI/kition-cad@1ec542d).
