IInsertSemantic Interface - Integration - Update 44 - Customization & Programming - Hexagon

SmartPlant Integration Customization

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

Each insert semantic must implement the IInsertSemantic interface. This interface consists of two methods:

  • CanObjectBeInserted – Called before the object is "inserted". This method gives the insert semantic the ability to detect an error, add that error to the message container and return False. Alternatively, this method can perform application-specific logic and return True.

  • InsertObject – Called after the object is inserted. Allows for post-object creation logic to be executed.