The MapEnum object corresponds to the IMapEnumDef interface in the Mapping Relationships diagram. 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.
General
Property |
Value |
---|---|
UID |
The UID must be constructed using the following pattern: UID = SP_<CodelistNumber>_<CodelistIndex> <CodelistNumber> is the he numeric identifier for this enumerated list. <CodelistIndex> is the numeric identifier for this entry. |
Name |
The text of the Smart P&ID enumerated 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 enumerated value to which this P&ID enumerated value is to be published. If this relationship is not defined, the enumerated value will not be published. (MapEnumToEnum in the diagram.) |
Mapped from |
This relationship defines the Smart P&ID enumerated value to which this SmartPlant schema enumerated value is to be retrieved. If this relationship is not defined, the enumerated value will not be retrieved. (EnumToMapEnum in the diagram.) |