PCB_Dlg-QueryBuilderFormQuery Builder_AD

您正在阅读的是 19.0. 版本。关于最新版本,请前往 PCB_Dlg-QueryBuilderForm((Query Builder))_AD 阅读 22 版本

The Query Builder dialog
The Query Builder dialog

Summary

The Query Builder dialog enables you to create a query for targeting specific objects in the design document by simple construction of a string of ANDed and/or ORed conditions. 

For more information about Query Language, click here. For more information about Query Functions, click here.

Access

The dialog can be accessed in the following ways:

  • From the PCB Filter panel, click the Builder button.
  • From the PCB Rules and Constraints Editor dialog, in each specific design rule, click Query Builder (if available).

Options/Controls

  • Show All Levels - use the drop-down to control the visual display of levels in the structured string of conditions. This essentially expands/collapses the display of brackets. Adding brackets creates a new level and you can display levels 1-5. Alternatively, click on the expand () or contract () symbols to show the next level(s) or hide the current level (and all levels below), respectively. 

  •  - use to remove brackets around the presently selected condition (decreasing indent). This allows you to create precedence for certain logically ANDed or logically ORed conditions.

  •  - use to add brackets around the presently selected condition (increasing indent). This allows you to create precedence for certain logically ANDed or logically ORed conditions.

  •  - to move a selected condition up in the query string being built. For a condition that has sub-levels (i.e. a bracketed condition), any condition in the level structure can be moved. When levels are expanded, a condition can be moved up through the levels. When levels are collapsed, a condition will be moved over the level structure.

  •  - to move a selected condition down in the query string being built. For a condition that has sub-levels (i.e. a bracketed condition), any condition in the level structure can be moved. When levels are expanded, a condition can be moved down through the levels. When levels are collapsed, a condition will be moved over the level structure.

  •  - use to expand symbols to show the next level(s).

  •  - use to contract symbols to hide the current level (and all levels below).

  •  - use to delete the selected condition.

  • Condition Type/Operator - use this region to specify the condition(s) required to target the set of objects needed. Initially, the entry in the Condition Type/Operator column will be Add first condition. Click once on this entry to open a drop-down list of condition types. The list is sensitive to wherever the dialog was launched from. If you are building a query for a particular design rule within the PCB Rules And Constraints Editor dialog, the condition list will only reflect condition types possible for that particular rule type.
  • Condition Value - choose the first condition then click in the Condition Value column to access a drop-down list of possible values for that condition type. As you define a condition, a preview of the currently built query is shown in the Query Preview region.

Tips

  • Add further conditions to narrow down your target set of design objects as required. Conditions can be ANDed or ORed together. The default logical operator is AND.
  • To change the logical operator between conditions, click on the AND or OR entry in the Condition Type/Operator column then select the required operator. The preview of the query will update accordingly.
  • The Query Builder dialog (Building Query from Board ) is a simpler method of constructing a query using sensitive condition types and values that only allow you to build using relevant 'building blocks.' For advanced query construction with full keyword specification and operator syntax use the Query Helper dialog.
  • You can adjust any condition in your query string at any time by clicking on the entry for that condition in the Condition Type/Operator column then choosing the required new condition from the available entries in the drop-down list. The preview of the query will update accordingly.
  • Use Ctrl+Up Arrow and Ctrl+Down Arrow keyboard shortcuts to move the selected condition entry up or down in the structure. 
  • Use Ctrl+Right Arrow and Ctrl+Left Arrow keyboard shortcuts to increase or decrease the indent at the selected position in the structure (add/remove brackets).
If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.

软件的功能取决于您购买的Altium产品级别。您可以比较Altium Designer软件订阅的各个级别中包含的功能,以及通过Altium 365平台提供的应用程序所能实现的功能。

如果您在软件中找不到某个讨论过的功能,请联系Altium销售团队以获取更多信息。

Content