pcb_create_room
Creates a rectangular confinement room on the active PCB to group and restrict selected components by designator, helping organize layout and enforce placement boundaries.
Instructions
Create a room for component grouping on the active PCB.
Creates a confinement constraint rule that defines a rectangular region. Components can be assigned via scope expression.
Args: name: Room name (e.g., "Power Section", "USB Block") x1: First corner X in mils y1: First corner Y in mils x2: Second corner X in mils y2: Second corner Y in mils components: Comma-separated component designators to confine (e.g., "U1,U2,R1,R2"). Optional; empty = applies to all.
Returns: Dictionary with created status, name, coordinates, and scope
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| name | Yes | ||
| components | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||