IInsertRelSemantic 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 relationship semantic must implement the IInsertRelSemantic interface. This interface consists of two methods:

  • CanRelBeInserted – called before the relationship is "inserted". This method gives the insert relationship 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.

  • InsertRel – called after the relationship is inserted. Allows for post-object creation logic to be executed.