Skip to main content
A via definition is a named via geometry — pad and hole size, and the layers it spans. Net classes reference a via definition, so the engine knows which via to use for which nets.

Attach a Via Definition to a Net Class

  1. Click Setup at the top of the board editor, then Net Classes under Nets.
  2. Click the edit button at the end of the net class’s row. Edit Net Class opens.
  3. Under Via Definition, pick the definition the class should use.
  4. Click Apply.
The table’s Via Definition column shows the class’s new via.

Switching the SPI net class to the Via[0-3]_0.4:0.2mm via definition, then Apply.

The same dialog sets the class’s Clearance and Track Width, and the nets that belong to it. See Board Setup.

Ask Cooper for One

Cooper creates a via definition and assigns it to a net class in one step. Tell it the class, the pad and hole size, and the layers the via should span — for example, Create a via definition for the SPI net class: 0.6 mm pad, 0.3 mm hole, through all layers. The change is made as soon as Cooper answers; there is nothing to accept or apply. See Create a Via Definition for what Cooper asks for if you leave something out, and how to check the result.
Via definitions normally arrive with your board file, from the via rules set in your EDA tool. DeepPCB supports through, blind, buried, and at-SMD vias — see Routing for which via types the engine will place and when.
A net class can also carry an ordered list of via configurations — prefer a blind via, fall back to through-hole — set in the board file; see Vias.