Server Module - 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 most cases, we need to extend our customization beyond that of just doing sideways overrides of existing interfaces. The following diagram shows the steps involved in a typical customization, starting with defining the model, loading the model, through to generating code, and adding new server APIs. Below we will go into detail for all of these steps.

The steps involved in creating a custom server module are as follows.

  • Create a class library in Visual Studio

  • Implementing the module

  • Using the code generator to create the interface implementations

  • Create the PrimaryMethodDef

  • Configure SmartPlant Foundation to call the method

  • Configure the SmartPlant Foundation server to load the custom module

  • Debug the module

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.