---
title: "perspective.presets.list: Perspective Grid Presets — Vector kit command — Kition"
description: "Answers the perspective grid presets, built-in and saved."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/perspective.presets.list"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/vector/commands/perspective.presets.list](https://developer.kition.ai/docs/kits/vector/commands/perspective.presets.list)

# perspective.presets.list

**Perspective Grid Presets.** Answers the perspective grid presets, built-in and saved.

- 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 |
| --- | --- | --- | --- |
| `kind` | `string` | no | read by the command beside its listed parameters |
| `name` | `string` | no | read by the command beside its listed parameters |

## Call through vector_run

```text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "perspective.presets.list" }]
}
```

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `presets` | `object[]` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "presets": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "angle": {
            "type": "number"
          },
          "builtIn": {
            "type": "boolean"
          },
          "distance": {
            "type": "number"
          },
          "gridline": {
            "type": "number"
          },
          "groundColor": {
            "type": "string"
          },
          "horizonHeight": {
            "type": "number"
          },
          "kind": {
            "type": "number"
          },
          "leftColor": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "opacity": {
            "type": "number"
          },
          "rightColor": {
            "type": "string"
          },
          "scale": {
            "type": "array"
          },
          "thirdVp": {
            "type": "array"
          },
          "units": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "kind": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    },
    "name": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    }
  },
  "returns": "{presets: [{builtIn, name, kind, …the perspective.grid.define fields}]} the built-in views (fitted to the first artboard, protected) first, then the saved presets",
  "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).
