---
title: "symbol.selectInstances: Select All Instances — Vector kit command — Kition"
description: "Selects every instance of a symbol; answers the count."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/symbol.selectInstances"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/vector/commands/symbol.selectInstances](https://developer.kition.ai/docs/kits/vector/commands/symbol.selectInstances)

# symbol.selectInstances

**Select All Instances.** Selects every instance of a symbol; answers the count.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `string` | no |  |

## Call through vector_run

```text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "symbol.selectInstances" }]
}
```

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `count` | `number` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "count": {
      "type": "number"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "name": {
      "type": "string",
      "x-khp-name": "name",
      "x-khp-types": [
        "Symbol"
      ]
    }
  },
  "returns": "{count}",
  "type": "object"
}
```

Generated from the command list of @kition/vector-darwin-arm64@0.1.0 and the kit itself (vector_commands through @kition/cli@0.1.1, built from KitionAI/kition-vector@7cf908f).
