obj_select
Select matching schematic or PCB objects in the active document using property filters to highlight them for inspection.
Instructions
Select objects matching a filter on the active document.
Sets the selection state on matching schematic or PCB objects for
visual highlighting. Use obj_deselect_all to clear.
Args: object_type: Altium object type (schematic or PCB) filter: Pipe-separated property=value conditions (AND logic)
Returns:
{"matched": N, "selected": M, "success": bool}. matched
is what the filter picked; selected is how many of those
read back as selected afterwards, and success is false
with a reason when that is fewer. A select reports
nothing about property readability.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | ||
| object_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||