Choose Multiple Elements
- Last UpdatedJan 24, 2023
- 1 minute read
If the same set of attributes need to be reported for multiple element types the ELEMENTS / END_ELEMENTS commands can be used, as in the example below:
ELEMENTS
ELEMENT GASKET
ELEMENT CROSS
ELEMENT ELBOW
ELEMENT BRANCH
ALL_ATTRIBUTES
ALL_UDAS
END_ELEMENTS
The start of the block is defined by the command ELEMENTS. Each element type that is to output the same set of attributes is then listed in the lines after the ELEMENT command. Any number of element types can be listed but they must be listed in consecutive lines. The attributes are then defined in exactly the same was as described in Choose Elements. The block is then terminated by the END_ELEMENTS command.