The MapClass object corresponds to the IMapClassDef interface in the Mapping Relationships diagram. In general, there is a MapClass object in the tool schema for each Smart P&ID class (ItemType) that needs to be published or retrieved. MapClass is referred to as SPMapClassDef in the Schema Editor. The properties and relationships for a MapClass can be viewed in the Edit Map Class Definition dialog.
General
Property |
Value |
---|---|
UID |
Must be unique. No other special requirements. |
Name |
The internal name of the Smart P&ID class (ItemType). Required. |
Process Criteria |
This property must be filled in for this MapClass to be used. The format for this property is a comma delimited list of fields. The fields are:
The user should not change any of these values. The default values that come with the delivered Tool Schema should remain unchanged. One exception to this is if you want to ignore the retrieval of items in the specific class, as described in the example below. |
To ignore an item for retrieval, delete all the parameters from the Process Criteria property for the required map class. For example, to prevent retrieval of PipeRuns, delete the parameters for the EFAdapter.PipeRunDataExchanger map class.
Tool Schema Relationships
Relationship |
Comment |
Map Properties |
The map properties associated with the MapClass must be defined and related to it. (MapClassMapProperties in the diagram.) |
Mapping Relationships
Relationship |
Comment |
---|---|
Publish to SmartPlant class |
This relationship must be set to a class in the SmartPlant schema if this class is to be published. When this relationship is set, an instance of the target class is published for each instance of the source class in the drawing being published. (MapClassToClass in the diagram.) |
Retrieve from SmartPlant interface |
The list of interfaces from which properties are to be retrieved must be set if this class is to be used for retrieval. (ClassToMapClass in the diagram.) |