In general, there is a MapEnum object in the tool schema for each Smart P&ID enumerated list entry that needs to be mapped. The properties and relationships for a MapEnum can be viewed in the Edit Map Enumerated List Definition dialog box (the same dialog box that is used for MapEnumList objects.)
General
Property |
Value |
---|---|
UID |
The UID must be constructed using the following pattern: UID = SP_<CodelistNumber>_<CodelistIndex> <CodelistNumber> - The numeric identifier for this enum list (ID value from the database ‘enumerations’ table). <CodelistIndex> - The numeric identifier for this entry (ID value from the database ‘Codelists’ table). |
Name |
The text of the Smart P&ID enum list entry. |
Tool Schema Relationships
Relationship |
Comment |
---|---|
Contained In |
Every MapEnum must be related to a MapEnumList (MapEnumListMapEnum in the diagram). |
Mapping Relationships
Relationship |
Comment |
---|---|
Maps to |
This relationship defines the SmartPlant Schema enum value to which this Smart P&ID enum value is to be published. If this relationship is not defined, the enum value will not be published (MapEnumToEnum in the diagram). |
Mapped from |
This relationship defines the Smart P&ID enum value to which this SmartPlant Schema enum value is to be retrieved. If this relationship is not defined, the enum value will not be retrieved (EnumToMapEnum in the diagram). |