---
title: "constraint.inspect: Inspect Constraints — CAD kit command — Kition"
description: "Answers the drawing's constraints, their glyph anchors, the parameters, the constraint settings and whether everything is satisfied."
canonical: "https://developer.kition.ai/docs/kits/cad/commands/constraint.inspect"
---

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

# constraint.inspect

**Inspect Constraints.** Answers the drawing's constraints, their glyph anchors, the parameters, the constraint settings and whether everything is satisfied.

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

## Parameters

None.

## Call through cad_run

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

The required parameters, with placeholders for their types: not a tested example. cad_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `constraints` | `any[]` | no |  |
| `glyphs` | `any[]` | no |  |
| `parameters` | `any[]` | no |  |
| `satisfied` | `boolean` | no |  |
| `settings` | `object` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "constraints": {
      "type": "array"
    },
    "glyphs": {
      "type": "array"
    },
    "parameters": {
      "type": "array"
    },
    "satisfied": {
      "type": "boolean"
    },
    "settings": {
      "additionalProperties": true,
      "properties": {
        "angleTolerance": {
          "type": "number"
        },
        "autoTypes": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "barExceptions": {
          "type": "array"
        },
        "barTransparency": {
          "type": "number"
        },
        "barsVisible": {
          "type": "boolean"
        },
        "dimExceptions": {
          "type": "array"
        },
        "dimsVisible": {
          "type": "boolean"
        },
        "distanceTolerance": {
          "type": "number"
        },
        "infer": {
          "type": "boolean"
        }
      },
      "type": "object"
    }
  },
  "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).
