How it works - 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

When the code generator is started it does several things:

  • Reads the MetaSchema from the SchemaComponent .dlls that are installed on the local machine.

  • Reads a configured set of Schema XML files; there is a settings.xml file that describes all the xml files it needs to load and the paths to them.

  • Reads a configured set of Server Module .dlls. All the compiled classes for InterfaceDefs that have previously been generated are stored under a tree node for the module they are located in. Using these the GUI is built up, gradually removing InterfaceDefs from the Not used and placing them against the module they reside in.

The Schema is accessed through the SchemaComponent SDK, and once the code generator is running then it is ready. It is possible to regenerate just a single file or the entire collection required for a complete synchronization.