Publishing - Intergraph Smart Electrical - Administration - Intergraph

SmartPlant Enterprise SmartPlant Adapter for Smart Electrical

Language
English
Product
Intergraph Smart Electrical
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10
Smart Electrical Version
2018 (8.0)

Documents that Smart Electrical can publish are reports saved in Excel format.  A Smart Electrical report contains an item list responding to certain criteria.  Items in the list can have relationships with other types of items that are not listed in the report.  A published document contains both the report items and the related items. The underlying logic of defining relationships between the items in the Smart Electrical data model is partly hard-coded in SmartPlant Adapter.

When a Smart Electrical document is published, SmartPlant Adapter extracts data from the Smart Electrical database and converts it into a set of objects and relationships that are compatible with SmartPlant schema.  These objects and relationships are written out to an .xml file and are sent to the SmartPlant server for further processing.  SmartPlant Adapter depends on the data in the tool schema to support the publish operation.  For each published class in the tool schema, there is a code module in SmartPlant Adapter known as a Map Object.

The SmartPlant Adapter for Smart Electrical contains these tasks:

  • Query the Smart Electrical Database — The adapter queries the database to obtain the collection of items to be published. The adapter retrieves all Smart Electrical items that are included in the published document.

    • Publishing scope — For all report and drawing types, the scope of the data to be published is based on the content of the published drawing or report. The software treats every plant item in the drawing or report as a document item and includes it in the publishing scope.

  • Create a Data Object — For each item to be published, the Map Object creates a data object in the document container. Any item type that you want to publish must be mapped from the tool map schema to the SmartPlant Schema. The class of this object is the SmartPlant Class related to the MapClass via the MapClassToClass relationship.

  • Set the Property Values — The property values on the data object are set according to the values on the Smart Electrical item. The list of properties to be published is defined by the list of MapProperties related to the current MapClass.

  • Publish Relationships — The Map Object defines the types of relationships that are to be published for each data object it publishes.