Creating a via with pcbnew's Python API
Add, position, and size a through-hole via on a PCB by scripting it, with pcbnew or KiCad's IPC API.
Creating a stitching-via grid with pcbnew's Python API
Generate a full grid of ground-connected stitching vias by script, instead of one via at a time — with pcbnew or KiCad's IPC API.
Creating a blind or buried via with pcbnew's Python API
Turn a regular through via into a blind or buried via, restricted to certain inner layers, by script — with pcbnew or KiCad's IPC API.
Auditing and counting a board's vias with pcbnew's Python API
List and count a board's existing vias by net, to spot an excess of vias or check a fabrication constraint — with pcbnew or KiCad's IPC API.