pcb_focus_board
Sets the specified PCB as the focused board so other PCB tools operate on the intended .PcbDoc when multiple boards are open.
Instructions
Make a specific PCB the focused/current board.
When several PcbDocs are open, the other PCB tools
(pcb_get_components, pcb_delete_object, pcb_delete_net,
pcb_plan_placement, design_visual_review, …) operate on the
focused board, and app_set_active_document does NOT reliably set
that for a PcbDoc. Call this first to point them all at the board
you mean. (pcb_place_components already accepts board_path
directly.)
Args: board_path: Absolute path to the .PcbDoc to focus.
Returns:
Dict with focused and the resolved board file name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||