Hierarchical Enumerated Lists - Integration - Update 44 - Help - Hexagon

Integration Help

Language
English
Product
Integration
Search by Category
Help
Smart 3D Version
12.1 (2019)
Smart Construction Version
2019(7.0)
SmartPlant Foundation / SDx Version
10
Smart Electrical Version
2019 (9.0)
Smart Materials/Smart Reference Data Version
2020 (10.0)
Smart P&ID Version
9 (2019)
Smart Review Version
2020 (15.0)
Smart Engineering Manager Version
10 (2019)
Smart Interop Publisher Version
13.1 (2019 R1)
Smart Isometrics Version
7.0(2019)
Spoolgen Version
9.0(2019)

A hierarchical enumerated list is a complex data type in which there is a collection of related enumerated lists and a value in a higher level list constrains the valid values in a lower level list. When a hierarchical enumerated list is used, a separate property is created for each level in the hierarchy.

Examples of hierarchical enumerated lists in Smart P&ID are Equipment Class, Equipment Subclass, Equipment Type, and Fluid System, Fluid Code. Examples in the SmartPlant schema include:  EqType0, ... , EqType6, and ConstructionStatus, ConstructionStatus2.

When mapping between Smart P&ID and the SmartPlant schema, four cases must be considered.

  1. Simple enumerated list to simple enumerated list.

  2. Simple enumerated list to hierarchical enumerated list.

  3. Hierarchical enumerated list to simple enumerated list.

  4. Hierarchical enumerated list to hierarchical enumerated list. When mapping between two hierarchical enumerated lists, the number of levels in each hierarchy may not be the same.

EnumConversions - A special Property Conversion class is available to support publishing and retrieving of enumerated properties. This class is called EnumConversions, and it is used for all cases of mapping enumerated list properties.

Mapping Properties - Only the top level properties associated with a hierarchical enumerated list are mapped. The lower level properties are left unmapped. The EnumConversions object obtains all of the values from the set of related properties even though they are not explicitly mapped.

Tool Schema Relationships - The MapEnumList objects that form an enumerated hierarchy must be related to each other with the Constrains and Constrained By relationships. The EnumConversions object relies on these relationships to get the job done.

Mapping Enum Values - An enumerated value within an enumerated list hierarchy can be mapped to any value (at any level) in the target enumerated list hierarchy. There is no explicit relationship between the levels of two hierarchies.