The hierarchical structure of elements in the mapping file is similar to the corresponding
2D/3D structure. Examples of the data that require mapping are listed below:
P&ID and PDMS data
Smart P&ID data |
Corresponding PDMS data |
---|---|
Plant |
Site |
Area |
Zone |
Pipeline System |
Pipe |
Piperun |
Branch |
PipingComp |
VALVE |
PipingComp |
REDUCER |
Instrument |
INSTRUMENT |
ItemTag |
NAME |
NominalDiameter |
BORE |
PipingMaterialsClass |
PSPE |
P&ID and ISO data
Smart P&ID data |
Corresponding ISO data |
---|---|
PipelineSystem |
Pipeline |
ItemTag |
PIPELINE-REFERENCE |
NominalDiameter |
Bore |
PipingMaterialsClass |
PIPING-SPEC |
The XML elements used in the mapping file are as follows:
-
ExportAs - Define the mapping name of any 2D/3D object. For example, you can import a PDMS PIPE object into the software as a PipelineSystem.
Only those Attributes which are specified in the XML Element of a particular hierarchy level node are imported into the software. For example, as shown above, only the NAME Attribute of PIPE object will be imported into the software.
-
CommonAttributesBelowThisLevel - Defines all the attributes that you want to import into the software. This XML element helps you define the attributes of all consecutive hierarchy level nodes, without having to define them individually.
For example, if you define attributes such as Bore and PSPE in the CommonAttributesBelowThisLevel XML element of the PIPE node, the same attributes will be applied to all the consecutive nodes in the hierarchy. -
DefaultAttributeBelowThisLevel - Defines all the default attributes that are not present in 2D/3D data that you want to import into the software. You can add user-defined attributes and their values using this XML element. This XML element helps you define the default attributes of all consecutive hierarchy level nodes, without having to define them individually.
-
DefaultAttributes - Defines all the default attributes that are not present in 2D/3D data that you want to import into the software. You can add user-defined attributes and their values using this XML element. This XML element helps you define the default attributes for a particular hierarchy level node.
In the previous example, the default attribute PipingComponentType has been defined in the DefaultAttributes XML element under the Globe-Valve node.