proj_get_board_info
Retrieve PCB outline vertices, layer stack, origin, and board_path from any open EasyEDA Pro board. Check board_path to confirm which document answered before trusting the geometry.
Instructions
Get PCB board information, outline vertices, layer stack, origin.
IT DOES NOT REQUIRE A PCB TO BE ACTIVE, which is what this used to claim. The handler resolves ANY open board, so with a schematic focused it answers about some other document. MEASURED: with a schematic active and a two-document project focused, it returned an outline belonging to neither, and gave no way to tell.
board_path in the reply names the document that actually
answered. Check it before trusting the geometry, or activate
the board you mean first.
Returns: Dictionary with origin_x, origin_y, board_path, outline (vertex array), and layers (active copper layer names)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||