Property Conversions - Intergraph Smart P&ID - 10 - Help - Intergraph

Intergraph Smart P&ID Help

Language
English
Product
Intergraph Smart P&ID
Search by Category
Help
Smart P&ID Version
10
Smart Engineering Manager Version
11
SmartSketch Version
10.0(2018)

If the data type of the Smart P&ID property does not match the data type of the mapped property in the SmartPlant schema, a data type mismatch exists. In some cases, a property with a data type mismatch can still be published and retrieved using specialized code. The code to perform these data type conversions and other special handling is implemented in special Property Conversion objects. The SmartPlant adapter is told about the need to use a Property Conversion object by putting the ProgID of the Property Conversion class in the Process Criteria option of the MapProperty. The list of available Property Conversion classes is shown in the table below.

The ProgID for each of these classes is formed by prefixing the class name with the string 'EFadapter'.

Property Conversion Class

Description

BoolToEnumConv

This property conversion supports the conversion needed to publish and retrieve the Smart P&ID SP_IsSpecialtyItem property to/from the CommoditySpecialtyType property in the SmartPlant schema.

CompFlowDirConv

This class only publishes the special property called IsFlowDirectional. There is no property named IsFlowDirectional in Smart P&ID. This information is derived from the Flow Direction property value. If the Flow Direction on a component is set, then this will publish IsFlowDirection as True; otherwise, it is published as False.

EnumConversions

This class implements the property conversion code for Hierarchical Enumerated Lists.

EnumToBoolConv

This class implements the property conversion code between Enumerated to Boolean. This property conversion module is specifically targeted to handle the StressAnalysisRequirement property in Smart P&ID.

EnumToStringConv

This class implements the property conversion code between Enumerated List to String. You can use any of the following syntax options:

  • EnumToStringConv

  • EnumToStringConv.<Name>

  • EnumToStringConv.<Description>

Note that the class name or description string must be entered exactly as shown. If you use either of the first two options, Smart P&ID publishes the Value of the property. If you use the EnumToStringConv.<Description> syntax, Smart P&ID publishes the Short Value of the property, even if blank.

NominalDiameterConv

Converts Nominal Diameter from an Enumerated List to a UoM during publish and from a UoM to Enumerated List during retrieve.

PortFlowDirectionConv

Special property conversion to handle the publishing of FlowDirection property on Connect Point. The Select List values for FlowDirection for Smart P&ID Piping Point and SmartPlant PIDPipingPort do not match well. Smart P&ID uses only one Select List for FlowDirection for both InlineComponent and PipingPoint whereas SmartPlant uses two separate Select Lists.

PpConnNameConv

This class implements the property conversion code for Piping Connector Name property.

TagPrefixConv

This class implements the property conversion code for the TagPrefix property. It populates the UnitName value for instrumentation.

UoMToDoubleConv

This class implements the property conversion code between UoM and Double. This property conversion module is specifically targeted to handle conversion of attributes without units (such as Molecular Weight, CpCvRatio, Compressibility, SpecificGravity). In Smart P&ID these attributes are treated like UoM attributes. However, in the SmartPlant schema they are simply Double.

UoMToEnumConv

This class implements the property conversion code between UoM to Enumerated List.