pcb_get_room_rules
Retrieve all room-like confinement constraint design rules with enabled state, scope, comment, and bounding rectangle coordinates in mils. Inspect PCB rule bounds, not physical board rooms.
Instructions
Get all room-like rules (confinement constraint design rules).
Returns design rules of kind eRule_ConfinementConstraint, these are NOT physical IPCB_Room objects on the board. The rule bounding rect is reported as x1/y1/x2/y2 in mils.
Returns: Dictionary with "room_rules" array (each with name, enabled, kind, scope_1, comment, x1, y1, x2, y2) and "count"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||