Tool map file mapping definitions for the authoring schema - SmartPlant Foundation - IM Update 46 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

Once the tool schema is defined, mapping to the data warehouse schema can be performed using the tool schema functions in the Schema Editor.

All mapping results in one of two relationships being created:

Mapping for publish

A MapClassToClass relationship defines the publish map for any class definition, interface definition, relationship definition, and so on. In this case, the PpmPAEquipment authoring class definition defined as the MapPpmPAEquipment map class is mapped to the PpmPPEquipment class definition in the SmartPlant Schema.

<Rel>

<IObject UID="MapPpmPAEquipment.PpmPPEquipment"/>

<IRel UID1="MapPpmPAEquipment" UID2="PpmPPEquipment" DefUID="MapClassToClass"/>

</Rel>

Mapping for retrieve

A ClassToMapClass relationship defines the publish map for any class definition, interface definition, relationship definition, and so on. In this case, the PpmPAEquipment authoring class definition defined as the MapPpmPAEquipment map class is mapped to the PIDMechanicalEquipment class definition in the SmartPlant Schema.

<Rel>

<IObject UID="PIDMechanicalEquipment.MapPpmPAEquipment"/>

<IRel UID1="PIDMechanicalEquipment" UID2="MapPpmPAEquipment" DefUID="ClassToMapClass"/>

</Rel>