pcb_autoplace_apply
Apply finished autoplace results by moving parts onto the expected board, with an optional checkpoint before changes.
Instructions
Move the parts of a finished pcb_autoplace job on the board.
Refuses unless the focused board is expect_file. With
checkpoint (default), first snapshots the board's folder as it is
ON DISK, so it can be restored with app_restore_checkpoint;
unsaved edits in the editor are not in it, so save first if there
are any. Positions are whole mils, as the job reported and judged
them.
Args:
job_id: a layout_place job that has finished.
expect_file: full path of the board the job placed.
checkpoint: take a checkpoint first (default True).
Returns:
{"moved", "failed", "expected", "checkpoint", "notes"} or
{"error": ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| checkpoint | No | ||
| expect_file | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||