The MapUoM object corresponds to the IMapUoMDef interface in the diagram above. In general, there is a MapUoM object in the tool schema for each Smart P&ID format that needs to be mapped. The properties and relationships for a MapUoM can be viewed in the Edit Map Unit of Measure List Definition dialog box (the same dialog used for MapUoMList objects.)
General
Property |
Value |
---|---|
UID |
The UID must be constructed using the following pattern: UID = SPMU_<FormatType >_<FormatName> <FormatType> – This is a numeric value that uniquely identifies the format type and therefore the UoM type within Smart P&ID. <FormatName> – This is a text value that identifies the name of the format and therefore the UoM within Smart P&ID (as defined in Format Manager). |
Name |
The name of the Smart P&ID format. |
Tool Schema Relationships
Relationship |
Comment |
---|---|
Contained In |
Every MapUoM must be related to a MapUoMList (MapEnumListMapEnum in the diagram). |
Mapping Relationships
Relationship |
Comment |
---|---|
Maps to |
This relationship defines the SmartPlant Schema UOM value to which this Smart P&ID UOM value is to be published. If this relationship is not defined, the UOM value will not be published (MapEnumToEnum in the diagram). |
Mapped from |
This relationship defines the Smart P&ID UOM value to which this SmartPlant Schema UOM value is to be retrieved. If this relationship is not defined, the enum value will not be retrieved (EnumToMapEnum in the diagram). |