Shared Attribute Definitions
- Last UpdatedMar 14, 2024
- 3 minute read
To successfully export data to the 12.0 SP5 version of PDMS or later, the shared attribute definitions must conform to certain rules.
ID
The ID attributes of the elements must conform to XML identity constraints. These id values may be used for cross referencing elements and are transient. for example, these ids are generated for each version of the file and cannot be used to match file contents between two different exports of the same drawing.
For example:

TagName
This should contain the full TagName for an item without additional text. This is an xsd:string attribute with no specific validation (see Character encoding for character constraints)
Specification
This is to be the name of the relevant pipe specification for the component. This is a free text field but should only contain the name of the specification.
StockNumber
This is defined as:
‘A code that will identify a purchasable plant item
‘The StockNumber attribute contains the unique name of this component that can be used to relate to the complete set of information that is contained in the vendor catalogue for the component. This attribute taken with the Specification and NominalDiameter will identify a specific item, fully defining its parameters size and optionally material and all other information available for it.’
This attribute is an xsd:string attribute and has no specific validation or constraints other than those defined in the ‘Character encoding’ section of this document.
ComponentName
If present on a component that is inside a ShapeCatalogue element then this is the unique id for the symbol within the file.
If present on a component that is not inside a ShapeCatalogue element then this is the reference to the geometry of the components symbol. The component may have additional annotation defined within it. The symbol referenced may be scaled (See Scale) or rotated (See Geometries (Axis and Reference)) by the Position element.
ComponentClass
This attribute is the RDL Designation field from the ISO 15926 RDL specification. The value of this field is converted to Camel Case with all spaces removed. Some fields contain characters that must be substituted when written in XML (e.g. ‘&’ characters must be substituted with &). For example:
GATE VALVE -> GateValve
CENTRIFUGAL PUMP -> CentrifugalPump
ComponentType
To be defined.
Revision
If known this attribute should contain the revision or version of the item. This has the type of xsd:string and therefore has no specific syntax or format constraints other than those detailed in Character encoding.
Status
One of the following values:
‘Current’ – This implies this is the latest version of an item
‘Deleted’ – This item has been superseded or removed from the drawing.
‘Modified’ – The last change to this item was a modification.
‘New’ – This is the first version of the item in the drawing.
Items marked as 'Deleted' may be ignored by an import.
Units
The Units attribute is to be taken from the ISO15926 RDL catalogue using the name from the catalogue converted to camel-case. All measurement values such as distances and pressures are either accompanied by their units of measure or defaulted to the value provided on the PlantInformation/UnitsOfMeasure element. The unit of measure for the coordinate geometry is stipulated in the PlantInformation/@Units attribute. The permitted values are as follows:
Angles:
Degree, Radian, deg, rad
Area :
SquareMillimetre, SquareCentimetre, SquareMetre, SquareKilometre, SquareInch, SquareFoot, SquareYard, SquareMile, sq mm, sq cm, sq m, sq km
Distances:
Micron, Millimetre, Centimetre, Decimetre, Metre, Kilometre, Inch, Foot, Yard, Mile, mm, cm, m, km, in, ft, yd
Pressures:
MillinewtonMetreSquared, NewtonMetreSquared, KilonewtonMetreSquared, Picopascal, Micropascal, Millipascal, Pascal, Kilopascal, Megapascal, Gigapascal, Bar, Bara, Barg
Temperatures:
DegreeKelvin, DegreeCelsius, DegreeRankine, DegreeFahrenheit, degC, degF, degK
Volume :
CubicMillimetre, CubicCentimetre, CubicMetre, CubicInch, CubicFeet, CubicYard, cc, litres, gallons, USGallons, barrels
Weight:
Microgram, Milligram, Gram, Kilogram, Megagram, PoundMass, OunceMass, mg, Kg, lb, oz
Note: All values are case sensitive.