proj_sync_schematic
Back-annotate PCB changes to the schematic, applying ECO updates so both stay in sync. Reports components added or removed, final sync status, and whether a confirmation dialog may have appeared.
Instructions
Push PCB changes back to schematic (back-annotate ECO). Attempts silent execution.
Equivalent to Design > Update Schematic in Altium Designer. Mirror of update_pcb: compiles, records before-state mappings, invokes PCB:UpdateSchematicFromPCB with silent-mode parameter flags (DisableDialog, Silent, NoConfirm, AutoApply), recompiles, and reports the after-state delta. Modern Altium versions execute without a dialog; older versions may still require manual confirmation (flagged via dialog_may_have_opened).
Returns: Dictionary with success, pcb_path, before/after mapping counts, components_added_to_schematic, components_removed_from_schematic, in_sync, and dialog_may_have_opened flag.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||