www.kxcad.net Home > Electronic Index > Altium(Protel) Index
Description
Execute a query statement to affect a group of objects on a PCB document.
Parameters
Expr (string)
The Expr refers to the valid expression statement or statements (with OR and AND keywords in the expression) that the Query engine parses first before taking action. Refer to the Query documentation for more details on numerous parameters for this RunQuery process.
Zoom (True,False)
If true, and the query is valid, the objects affected by the query are zoomed into.
Mask (True, False)
If true, and the query is valid, the objects affected by the query are masked.
Select (True,False)
If true, and the query is valid, the objects affected by the query are selected.
Action (FindSimilar, FindSimilarUnderCursor).
Clear (True,False)
If true, the current query is cleared.
Example
Process: PCB:RunQuery
Parameters :Expr=IsDesignator And (Rotation <> 0) And (Rotation <> 360)|Select=True|Mask=True
An example of the PCB query can be found in the \Scripts\PCB examples folder.