---
title: "object.addTrimMarks: Create Trim Marks — Vector kit command — Kition"
description: "Draws trim marks around the selection or every artboard, in Roman or Japanese style."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/object.addTrimMarks"
---

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

# object.addTrimMarks

**Create Trim Marks.** Draws trim marks around the selection or every artboard, in Roman or Japanese style.

- 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 |
| --- | --- | --- | --- |
| `allArtboards` | `boolean` | no | default: true when nothing is selected |
| `bleed` | `number` | no | points; 8.5, japanese |
| `japanese` | `any` | no | default: the japaneseCropMarks preference; japanese: double lines at the trim and bleed edges plus centre marks; one of several alternative parameters |
| `length` | `number` | no | points; 18 |
| `offset` | `number` | no | points; 9, roman |
| `style` | `string` | no | like roman; one of several alternative parameters |
| `weight` | `number` | no | points; 0.3 |

## Call through vector_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `allArtboards`, `bleed`, `japanese`, `length`, `offset`, `style`, `weight`. 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": {
    "allArtboards": {
      "description": "default: true when nothing is selected",
      "type": "boolean"
    },
    "bleed": {
      "description": "points; 8.5, japanese",
      "type": "number"
    },
    "japanese": {
      "description": "default: the japaneseCropMarks preference; japanese: double lines at the trim and bleed edges plus centre marks; one of several alternative parameters"
    },
    "length": {
      "description": "points; 18",
      "type": "number"
    },
    "offset": {
      "description": "points; 9, roman",
      "type": "number"
    },
    "style": {
      "description": "like roman; one of several alternative parameters",
      "type": "string"
    },
    "weight": {
      "description": "points; 0.3",
      "type": "number"
    }
  },
  "returns": "{id: the first group, ids}",
  "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).
