> ## Documentation Index
> Fetch the complete documentation index at: https://docs.deeppcb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a Net Class with Cooper

> Ask Cooper to create a net class and put nets into it, instead of filling in the Board Setup dialog.

A net class groups nets that share a clearance, a track width and a via definition. Describing the group you want is quicker than building it in the dialog, particularly when the nets have something in common you can name.

## Ask for It

Ask for the class — *Can you set a new net class* is enough to start. Cooper asks for what it cannot guess:

| It needs | What to give it |
| - | - |
| **Which nets** belong to the class | Name them, or describe the group — every USB net, every supply rail |
| **Clearance** | In mm or mil |
| **Track width** | One value **per copper layer**, so a six-layer board takes six |
| **Via definition** | Reuse one the board already has, by name — `Via[0-5]_0.45:0.3mm` — or give a new size |

Answer in one message or several; Cooper fills in the class as the details arrive, and makes the change once it has them — there is nothing to accept or apply. Give everything at once and it creates the class straight away, and says which nets moved into it.

<video autoPlay muted loop playsInline src="https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/how-to/cooper-net-class.mp4?fit=max&auto=format&n=X7Hy0HgSSYrG7K_B&q=85&s=d1098397618f8a0ab80a26fc72c94847" />

Creating a USB net class with its nets, clearance, track width and via in one message — Cooper creates it and moves the four nets in.

> [!WARNING]
>
> **Net class changes are blocked while a job is running.** Cooper takes the details and tells you the write has to wait until the run stops or completes. It can also stop the run, apply the change and resume routing — it asks you to confirm first, since stopping a paid job costs you the time. See [Stop and Resume a Run](https://docs.deeppcb.com/tutorials/how-to/stop-and-resume.md).

> [!NOTE]
>
> A net belongs to one class at a time, so moving a net into a new class takes it out of the one it was in.

For the dialog, the per-layer track widths and the **Assigned Nets** panel, see [Net Classes](https://docs.deeppcb.com/tutorials/how-to/net-classes.md). For what each field controls, see [Board Setup](https://docs.deeppcb.com/guides/board-setup.md#net-classes).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.