# Wire numbering

> Give every wire a project-unique number in Wiring Studio, build heat shrink markers from its digits, and carry the numbers into the cut list, exports and MCP.

Source: https://wiring.studio/docs/wire-numbering/

Every wire in a project carries its own number. The number is assigned when the wire is created, stays put until you change it, and can be turned into heat shrink markers digit by digit, so the same number identifies the wire in Pin Configuration, on the cut list and at the bench.

## What wire numbers are

A wire number is a positive integer that is unique within the project, across all of its sheets. A wire gets its number when it is created, which in practice means when it gets a destination in [Pin Configuration](https://wiring.studio/docs/pin-configuration/). An unconnected wire shows the next free number as a muted preview, but owns no number until it gets a destination.

- **Numbers are sticky.** Nothing renumbers automatically. Moving, reordering or deleting other wires leaves a wire's number alone.
- **Deleted numbers are not reused.** The project remembers the highest number it has retired, and the next number goes past it even when you delete the newest wire, so a number printed on a sleeve never silently ends up on a different wire. Renumber all wires is the one exception: it restarts at 1 and the next wire follows the new highest.
- **Skipped digits are respected.** If your scheme skips a digit, the next number is the first one above the highest that does not contain it.
- **Older projects were numbered once.** When wire numbers shipped, every existing project was numbered in a single pass, in the same order as **Renumber all wires** below.

Wire numbers are separate from the base color of the wire part and from [color codes](https://wiring.studio/docs/wire-colors-and-marking/). A number is an identity; markers are how that identity is made visible on the wire.

## The marker scheme

Each project has a marker scheme, set in **Project Properties** on the **Wire numbering** tab. The scheme has one row per digit, 0 to 9.

| Setting | What it does |
| --- | --- |
| **Part** | The [Heat Shrink part](https://wiring.studio/docs/wire-colors-and-marking/#parts) from the library that marks this digit. A digit with no part is still used for numbering; it just gives no marker suggestion. |
| **Skip** | Takes the digit out of numbering. With 4 skipped, the numbers run 1, 2, 3, 5 and so on, and 14 is never assigned. At least one non-zero digit must stay in use. |
| **Minimum digits** | From 1 to 4. A number shorter than this is padded with zeros: 24 with a minimum of 3 displays as 024 and uses the 0 part as its first marker. |

_Figure: The Wire numbering tab of the Project Properties dialog: a preview of the first 8 numbers drawn as wires with colored bands, the minimum digits buttons, and a heat shrink part and Skip switch for each digit_

Above the table, a preview strip shows the first assignable numbers drawn as little wires with their colored bands, so you can check the scheme before any wire uses it.

## Workspace defaults and the project's copy

A workspace has default numbering settings, and each project has its own copy. In the sidebar, open **Settings**; in the desktop app it is also **Settings…** in the app or Edit menu. The **Wire numbering** section holds the same scheme editor as the project tab. Changes there save immediately.

_Figure: The Settings dialog on its Wire numbering section, with the preview, minimum digits, a marker part for all ten digits, and a notice that 2 of 6 projects use a different scheme beside Apply to all projects_

The defaults are copied into every project created afterwards. Existing projects keep their own copy, so changing the workspace doesn't alter them on its own. In a project, **Reset to workspace defaults** replaces the project's scheme with the current workspace one.

To update existing projects too, use **Apply to all projects…**, which appears in the **Wire numbering** section while any project uses a different scheme. It needs a connection and can't be undone. It replaces the scheme on every project, including ones you customized, but not on revisions or assemblies. Wire numbers and markers stay as they are, so checks may flag skipped digits or marker mismatches until you renumber a project. Projects that are being imported or are over your plan's sheet limit are skipped.

## Assigning and editing

In Pin Configuration, the **Wire no.** column sits before **Wire**. Complete a wire's destination and it takes the next free number. An unconnected wire shows the number it is going to get in muted text.

_Figure: The Wire no., Wire, Color code and Destination columns for wires 01 to 06, with each wire's color code bands spelling its number and Auto-fill offered on wire 02_

- **Edit it.** Click the cell and type a new number. A duplicate gets a warning icon, and the [duplicate check](https://wiring.studio/docs/design-rule-checks/) flags it.
- **It cannot be cleared.** Every wire keeps a number. Emptying the cell and committing restores the current number.
- **Hide the column.** Use the column menu if you do not number your wires.
- **Fill down never copies numbers.** Dragging a wire's other values down a column leaves the Wire no. cell alone, because copying would create duplicates.

The number also shows in the pin inspector, the [Wiring view](https://wiring.studio/docs/wiring-view/) selection panel, the cable inspect panel, the highlight chip and the cable layer editor. It is not drawn on the canvas, in the 3D view or in the formboard outputs in this version.

## Markers from the number

When a wire is created, every digit of its number has a part in the scheme, and the wire has no color code markers yet, the markers are filled in from the number automatically. Wire 17 gets the part for 1, then the part for 7. With a minimum of 3 digits, wire 17 gets the 0, 1 and 7 parts.

A wire that has no markers, and whose number maps fully onto parts, shows ghost swatches in the **Color code** cell with an **Auto-fill** button. Click it to place the markers. To fill many wires at once, tick their rows and use **Auto-fill** in the selection toolbar; wires that already have markers are left alone.

_Figure: The Color code column with a dimmed ghost swatch and an Auto-fill button on each of six wires_

Auto-fill uses the project's scheme. If the project has no digit parts at all, it uses the parts from your workspace defaults instead, with the project's own minimum digits. The button is disabled if neither has parts, or if the wire's number uses a digit with no part; its tooltip says what to set up.

If a wire's markers don't spell its number under the project's scheme, an amber warning icon appears beside them. It follows the [marker check](https://wiring.studio/docs/design-rule-checks/): turn that rule off and the icon goes too. The red icon on a duplicate wire number follows its own rule the same way.

> **Note:** Markers you have already placed are never touched by numbering, including by **Renumber all wires**. If you change a number by hand, the markers stay as they were, and the [marker check](https://wiring.studio/docs/design-rule-checks/) tells you where they no longer match.

## Renumber all wires

**Renumber all wires** on the Wire numbering tab numbers every wire in the project from 1 up, leaving out any number that uses a skipped digit. The order is sheet order, then source component and pin, then destination component and pin. A confirmation dialog appears first, because every number in the project can change.

Renumbering changes numbers only. Markers already placed on wires stay exactly as they are, so run it before you mark wires, or expect the marker check to flag the difference.

## Checks

Three [design rule checks](https://wiring.studio/docs/design-rule-checks/) cover wire numbers.

| Rule | Severity | Flags |
| --- | --- | --- |
| **Duplicate wire number** | Error | Two or more wires share a number, on any sheet. The detail lists the other wires and their sheets. |
| **Number uses a skipped digit** | Warning | A wire's number contains a digit the scheme skips, for example after you start skipping 7. |
| **Markers differ from wire number** | Warning | The wire's color code markers do not match its number. It only fires when every digit has a part, and says what was expected and what the wire has. |

Results name a wire by its number and ends, such as **#024 X1/1 → X2/3**. The digit parts in the scheme also go through the usual part checks, such as a part that is not in the library or is the wrong category, under the subject **Wire numbering scheme**.

## Cut list and exports

The per-wire [cut list](https://wiring.studio/docs/bom-and-cutlist/) has **Wire No.** as its first column. The grouped cut list has a **Wire No.** column that lists ranges, such as 3, 7, 12–14. [PDF, Excel and CSV exports](https://wiring.studio/docs/project-export/) gain **Wire No.** in the cut lists and in the connectors and pin configuration table. In exports the number is text, so leading zeros such as 024 are kept.

## MCP tools

Over the [MCP server](https://wiring.studio/docs/mcp-server/), an assistant can read and write wire numbers.

- **connect_wire** takes an optional **number**. Omit it for the next free number; markers are filled automatically when **colorCodePartNumbers** is also omitted.
- **update_wire** takes **number**, a positive integer. It cannot be cleared. Duplicates are refused; to re-sequence every wire use **renumber_wires**. Changing a number does not change the markers.
- **renumber_wires** takes a **projectId** and returns **changed** and **total**.
- **set_project_settings** takes **wireNumbering**: **digits**, a list of objects with **digit**, **partNumber** (null for no marker) and **skip**, and **minDigits**. Null clears the scheme.
- **get_workspace_settings** and **set_workspace_settings** read and write the workspace defaults that new projects copy. Set **applyToExistingProjects** on **set_workspace_settings** to also replace the scheme on every existing project.
- **list_wires**, **get_pin_config** and **get_cutlist** return **number** and **numberLabel** (the padded text, such as 024); grouped cut list rows return **numbers** and **numberLabels**. **get_project** returns **wireNumbering**.

[Excel import](https://wiring.studio/docs/excel-import/) can read a wire number column through the same **connect_wire** option, and set the scheme through **set_project_settings**.

## Working well with them

- **Pick the scheme before wiring.** Set the digit parts first, so markers fill automatically as you create wires.
- **Two or three digits cover most harnesses.** A minimum of 3 digits gives every wire up to 999 the same number of bands.
- **Stock fewer colors.** Skipping a digit takes its color off the bench; the only cost is that numbers containing it are never assigned. Leaving a rarely used digit without a part also saves stocking it, but wires using that digit get no automatic markers.

> **Tip:** Check the preview strip against the sleeves in your drawer. If two bands look alike on the bench, change the part for one digit or skip it.

_Last updated: 4 November 2026_
