proj_compare_sch_pcb
Compare schematic and PCB component counts to identify mismatches between design stages.
Instructions
Compare schematic and PCB component counts.
Compiles the project and compares physical component counts between the
schematic and the primary PCB document, via the component mappings
(matched + side-only) -- the same authoritative path as
proj_get_differences. For the per-component breakdown of what is
extra on each side, use proj_get_differences.
DATASHEET DISCIPLINE: If the diff reveals mismatched or missing parts and you're proposing a fix, the datasheets of the parts involved are authoritative on their pinout and behavior, fetch them before suggesting a footprint change or pin reassignment.
Args: project_path: Optional project path. If None, uses active project.
Returns:
Dictionary with sch_components, pcb_components, components_match
(bool), and pcb_path. (Net-count comparison is not provided here;
use proj_get_nets / pcb_get_nets.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||