---
title: "object.envelope.resetWithMesh: Reset with Mesh… — Vector kit command — Kition"
description: "Turns the selected envelopes into mesh envelopes of rows by columns, keeping their content."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/object.envelope.resetWithMesh"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/vector/commands/object.envelope.resetWithMesh](https://developer.kition.ai/docs/kits/vector/commands/object.envelope.resetWithMesh)

# object.envelope.resetWithMesh

**Reset with Mesh….** Turns the selected envelopes into mesh envelopes of rows by columns, keeping their content.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `cols` | `integer` | no | 1 to 50; unset: a mesh envelope's own, else 4 |
| `columns` | `number` | no | read by the command beside its listed parameters |
| `maintainShape` | `boolean` | no | true: the mesh follows the current envelope shape; false: a flat grid over the content |
| `rows` | `integer` | no | 1 to 50 |

## Call through vector_run

```text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "object.envelope.resetWithMesh" }]
}
```

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

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "cols": {
      "description": "1 to 50; unset: a mesh envelope's own, else 4",
      "type": "integer"
    },
    "columns": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    },
    "maintainShape": {
      "description": "true: the mesh follows the current envelope shape; false: a flat grid over the content",
      "type": "boolean"
    },
    "rows": {
      "description": "1 to 50",
      "type": "integer"
    }
  },
  "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).
