pcb_get_unrouted_nets
Identify nets with unrouted connections to verify PCB routing completion. Optionally re-derive ratsnest lines before counting for accurate results.
Instructions
Get list of nets with unrouted connections (ratsnest lines).
Identifies nets that still have ratsnest lines, meaning they are not fully routed. Useful for checking routing completion status.
The count is of the connection lines stored on the board, and
those can be out of date: boards whose nets were all joined have
been reported with open connections. reanalyze has Altium
re-derive the lines of every net that has one first, as it does
after an edit. obj_query on eConnectionObject lists each
line with its ends, layers, IsRedundant and Mode.
Args: reanalyze: re-derive the ratsnest before counting (default False).
Returns: Dictionary with "unrouted_nets" array (each with net name and unrouted_connections count), "net_count", "total_unrouted" and "reanalyzed"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reanalyze | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||