Modeling a New Interface - SmartPlant Foundation - IM Update 44 - Customization & Programming - Hexagon

SmartPlant Foundation Customization

Language
English
Product
SmartPlant Foundation
Search by Category
Customization & Programming
SmartPlant Foundation / SDx Version
10

In this section we are going to take you through the steps involved in modeling up a new interface. A new interface will allow a project team to add additional properties onto an object and also override any of the methods on any implied interfaces.

The steps involved in modeling a new interface are as follows.

  • Model the new interface and associated relationships

  • Add the interface into the specializationvalues.xml file (located in the website directory)

  • Use the code generator to create the interface implementations

  • Add the new interfaces (generated and default) into the assembly

  • Write any override code you require

  • Load the new interface schema in via the Desktop Client loader

The code generator mentioned here is available through customer support. Please file a SmartPlant Foundation service request for access to the code generator and the code samples mentioned in this guide.