User Defined Type Group
- Last UpdatedJan 30, 2025
- 2 minute read
User Defined Type Groups (UDTG’s) can be used to replace lists of element types and/or expressions through the design process. For example, a UDTG can be used to filter out all pipe and equipment elements with a certain purpose (PURP) and status value. Once created, the UDTG can then be used and observed in the graphical view.
Command line examples
ADD ALL :DrainPipes
ENHANCE ALL :MissingStatus COL RED

Collections
UDTG elements can be used in collections to carry out a dynamic selection using a filter in the format of a Programmable Macro Language 1 (PML) collection expression, for example: VAR !list COLLECT ALL :SpecialPipes
Access Control Scope element
Filters the Access Control Scope (SCOSEL) attribute of a GPSET element. For example:
SCOSEL ALL EQUI FROM CLAIMLIST
Scope Expression
Use the scope expression functionality available from the Expression Editor window to edit the scope selection of the filter.

Controllable element types
Defines which types of elements a STATUS definition is valid for using the controllable element types attribute.

Controllable element types can be a mix of UDTG’s and User Defined Element Type (UDET’s), from the Chosen element types part of the Select element types window, select the suitable controllable element type (s) (Status by set of type). Refer to Configuring Status Definitions in Lexicon for further information.
