Implement Property Validation - Intergraph Smart Electrical - Help - Hexagon

Intergraph Smart Electrical Help

Language
English
Product
Intergraph Smart Electrical
Search by Category
Help
Smart Electrical Version
10
  1. Create a Visual Studio C# project of type Custom Library, with Target Framework 4.6.2

  2. Add references to SpelCustomINF.dll and to ISPClientData3V2.dll from the application directory.

  3. Create new public class which implements "ISPELValidate" interface from "SpelCustomInf" namespace.

  4. Implement interface method "DoValidate" and property "LastErrorMessage" with your custom validation logic as shown in a code example.

  5. Build project to the application "bin" directory.