---
title: "select.quick: Quick Select... — CAD kit command — Kition"
description: "Selects objects by type and a property comparison (equals, differs, greater, less, wildcard), new, appended or excluded, over the drawing or the selection."
canonical: "https://developer.kition.ai/docs/kits/cad/commands/select.quick"
---

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

# select.quick

**Quick Select....** Selects objects by type and a property comparison (equals, differs, greater, less, wildcard), new, appended or excluded, over the drawing or the selection.

- 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 |
| --- | --- | --- | --- |
| `applyTo` | `"drawing" \| "selection"` | no |  |
| `color` | `string` | no |  |
| `layer` | `string` | no | a layer name |
| `mode` | `"new" \| "append" \| "exclude"` | no |  |
| `operator` | `"=" \| "!=" \| ">" \| "<" \| "*"` | no | wildcard |
| `property` | `string` | no |  |
| `type` | `string` | no |  |
| `value` | `string \| number \| boolean` | no |  |

## Call through cad_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `applyTo`, `color`, `layer`, `mode`, `operator`, `property`, `type`, `value`. cad_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `handles` | `string[]` | no |  |
| `message` | `string` | no |  |
| `selected` | `number` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "handles": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "message": {
      "type": "string"
    },
    "selected": {
      "type": "number"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "applyTo": {
      "enum": [
        "drawing",
        "selection"
      ],
      "type": "string"
    },
    "color": {
      "type": "string"
    },
    "layer": {
      "description": "a layer name",
      "type": "string"
    },
    "mode": {
      "enum": [
        "new",
        "append",
        "exclude"
      ],
      "type": "string"
    },
    "operator": {
      "description": "wildcard",
      "enum": [
        "=",
        "!=",
        ">",
        "<",
        "*"
      ],
      "type": "string"
    },
    "property": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "value": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        }
      ]
    }
  },
  "returns": "selected handles",
  "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).
