The MapProperty object corresponds to the IMapPropertyDef interface in the Mapping Relationships diagram. In general, there is a MapProperty object in the tool schema for each Smart P&ID property that needs to be published or retrieved. The properties and relationships for a MapProperty can be viewed in the Edit Map Property Definition dialog box in the Schema Editor.
General
Property |
Value |
---|---|
UID |
Must be unique. No other special requirements. |
Name |
The internal name of the Smart P&ID attribute. Required. |
Selection Criteria |
This field is used to specify the handling of process data properties on PipeRuns. |
Process Criteria |
For properties that require special handling, the ProgID of the appropriate PropertyConversion class must be entered here. In some cases, additional parameters are also supplied in this field. For simple properties with matching data types, no value is required here. See the section on Property Conversions for more information. |
Tool Schema Relationships
Relationship |
Comment |
---|---|
Exposed by map classes |
Every MapProperty must be related to a MapClass. (MapClassMapProperties in the diagram.) |
Scoped by enumeration |
If the data type of the property is enumerated, the MapProperty must be related to a MapEnumList. If the data type of the property is UoM, the MapProperty must be related to a MapUoMList. Otherwise, this relationship is not needed. (MapPropertyMapEnumList in the diagram.) |
Mapping Relationships
Relationship |
Comment |
---|---|
Map property to property |
This relationship defines the property in the SmartPlant schema to which this tool property is to be published. If this relationship is not defined, the property will not be published. (MapPropertyToProperty in the diagram.) |
Property to map property |
This relationship defines the property in the SmartPlant schema from which this tool property is to be retrieved. If this relationship is not defined, the property will not be retrieved. (PropertyToMapProperty in the diagram.) |