Working with Visual Queries and Work Packs
- Last UpdatedJan 24, 2023
- 1 minute read
Queries can be configured to display whole work packs or to display the model content of the packs. To view whole packs, create a type collection for WKPACK and an expression to filter packs by status or type. For example, ( WPTYP eq 'CWP' ).
To view pack content, create type collections for the various model element types according to how they are to be displayed. These can include any model element to be managed in a pack, as well as Pipe and HVAC spools and pieces (PSPOOL, HSPOOL, PPIECE) and the Spool module elements (SPOOL and FIELD).
Note:
To display items such as pipes and equipment that are not in a particular type of
work pack use an expression, for example, (unset(WRKPKS('CWP'))). Reversing this displays
items that are in that type of work pack, for example, (NOT unset(WRKPKS('CWP'))).
When running these queries against CE, with the current element being a Work Pack (WKPACK) or an element above WKPACK, depending on which queries are selected to be active, the display focuses on the packs as a whole or their content according to the specific configuration.
Refer to Work Pack Pseudo Attributes, Status Control and Data Access Control for further information.