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 Electrical 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 >.<UOMNumber> <FormatType> – This is a numeric value that uniquely identifies the format type and therefore the UoM type within Smart Electrical. < UOMNumber > – This is a number value that identifies the UoM within Smart Electrical. |
Name |
The name of the Smart Electrical UOM. |
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 to which this Smart Electrical format (UoM) is to be published (MapEnumToEnum in the diagram). If this relationship is not defined, the UoM will not be published. |
Mapped from |
This relationship defines the Smart Electrical format (UoM) to which this SmartPlant Schema UoM is to be retrieved (EnumToMapEnum in the diagram). If this relationship is not defined, the UoM will not be retrieved. |