Publish Operation Description - Integration - Update 44 - Help - Hexagon

Integration Help

Language
English
Product
Integration
Search by Category
Help
Smart 3D Version
12.1 (2019)
Smart Construction Version
2019(7.0)
SmartPlant Foundation / SDx Version
10
Smart Electrical Version
2019 (9.0)
Smart Materials/Smart Reference Data Version
2020 (10.0)
Smart P&ID Version
9 (2019)
Smart Review Version
2020 (15.0)
Smart Engineering Manager Version
10 (2019)
Smart Interop Publisher Version
13.1 (2019 R1)
Smart Isometrics Version
7.0(2019)
Spoolgen Version
9.0(2019)

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 Map Object contains code for the following tasks:

  • Create a Data Object — For each item to be published, the Map Object creates a data object in the document container. The class of this object is the SmartPlant Class related to the MapClass via the MapClassToClass relationship.

  • Set 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.