pcb_get_selected_objects
Retrieves requested properties for currently selected objects on the active PCB, so you can inspect or process a multi-object selection without querying each item individually.
Instructions
Get properties of currently selected objects on the active PCB.
Args: properties: Comma-separated property names to return. Available: ObjectId, X, Y, X1, Y1, X2, Y2, Layer, Net, Width, Name, Rotation, HoleSize, TopXSize, TopYSize, Size, Pattern, SourceDesignator, Text, Descriptor, Selected
Returns: Dictionary with "objects" array and "count"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| properties | No | ObjectId,X,Y,Layer,Net |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||