audit_find_net_label_conflicts
Detect net labels that conflict at the same point, sit inert on pin roots, or duplicate, and get coordinates to correct silent shorts or floating pins before fabrication.
Instructions
Find net labels that silently merge, short, or do nothing.
Three failure modes that all look correct on a printed sheet:
conflicting_labels-- two labels with DIFFERENT text at the same Location (x, y), not merely overlapping text boxes. Altium merges both names into one net and one name wins; the losing net ceases to exist and everything on it is absorbed. This is a real short between two named nets, and the usual symptom is "net X has zero pins" while some unrelated pin turns up on net Y. Adjacent labels on a 100-mil pin pitch are not conflicts.labels_on_pin_root-- a label sitting on a pin'sLocationinstead of its electrical end.Locationis the BODY-side root; a pin connects atLocation + PinLengthalongOrientation(0=right, 1=up, 2=left, 3=down). A label on the root is inert, so the sheet reads as fully wired while the pin floats on an auto-generated net. Each item reports the label's coordinates AND theconnect_x_mils/connect_y_milsthe label should move to.duplicate_labels-- same text twice at one point. Harmless electrically, but it is clutter and it hides class 1 underneath.
Complements audit_find_orphan_net_labels, which only asks
whether a wire sits under the label and therefore reports
genuinely-connected labels (those on a pin end, with no wire)
as orphans.
Returns:
Dict with {checked, conflicts, on_pin_root, duplicates, conflicting_labels[], labels_on_pin_root[], duplicate_labels[]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||