Objects (Classes) - Intergraph Smart P&ID - Administration & Configuration - Hexagon PPM

SmartPlant Enterprise SmartPlant Adapter for Smart P&ID (2019)

Language
English
Product
Intergraph Smart P&ID
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10
Smart P&ID Version
9 (2019)

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.

ClassDef objects (ToolMap) hold the progID of the relevant SmartPlant Adapter publisher class which processes and performs the logic for it and its corresponding itemtype in Smart P&ID.

This publisher class gathers all relevant SPItems for that itemtype related to the published drawing.

You can view the properties and relationships for a MapClass in the Edit Map Class Definition dialog box.

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:

ProgID – The programmatic identifier of a class module within the P&ID EF adapter.

Expand Attributes Flag – A flag to indicate if the attributes should be expanded. The default value of most class definitions is False; thus, expanded attributes will not be published. To publish expanded attributes, change the value to True.

Seq No – A number that indicates the sequence in which the classes are processed. This field is used for Retrieve processing.

Do not modify the ProgID or Seq No values. Use caution when modifying the Expanded Attributes flag. The default values that come with the delivered Tool Schema should remain unchanged. This should remain with out-of-the-box values. Deleting this field will result in ignoring the class from participating in the publish process.

Tool Schema Relationships

Relationship

Comment

Map Properties

The map properties associated with the MapClass must be defined and a relationship between the MapClass and the MapClassMapProperties must be created (MapClassMapProperties in the diagram).

Mapping Relationships

Relationship

Comment

Publish to EF class

A relationship must be defined between the MapClass and 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 EF 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).