---
title: "drafting.setDynamicEntry: Dynamic Input Entry — CAD kit command — Kition"
description: "Tells the engine what the person has typed in the editor's dynamic input boxes beside the cursor, so a value locked there holds the cursor and the preview, and answers whether the text reads as a box entry and the command-line text Enter would send for it now (`complete`; null sends the text as typed). The editor calls it; it changes neither the drawing nor the running command."
canonical: "https://developer.kition.ai/docs/kits/cad/commands/drafting.setDynamicEntry"
---

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

# drafting.setDynamicEntry

**Dynamic Input Entry.** Tells the engine what the person has typed in the editor's dynamic input boxes beside the cursor, so a value locked there holds the cursor and the preview, and answers whether the text reads as a box entry and the command-line text Enter would send for it now (`complete`; null sends the text as typed). The editor calls it; it changes neither the drawing nor the running command.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `secondLocked` | `boolean` | no |  |
| `text` | `string` | no |  |

## Call through cad_run

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

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `entry` | `boolean` | no |  |
| `format` | `string` | no |  |
| `holds` | `boolean` | no |  |
| `relative` | `boolean` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "entry": {
      "type": "boolean"
    },
    "format": {
      "type": "string"
    },
    "holds": {
      "type": "boolean"
    },
    "relative": {
      "type": "boolean"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "secondLocked": {
      "type": "boolean"
    },
    "text": {
      "type": "string"
    }
  },
  "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).
