IUpdateSemantic 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 update semantic must implement the IUpdateSemantic interface. This interface consists of three methods:

  • CanPropertyBeUpdated – called to allow the semantic to indicate whether or not the update of the property can continue. The semantic may choose to do additional processing here although the latter methods are probably better locations for this logic.

  • BeforeUpdateProperty – called before the property in updated. This is the right place for logic that needs access to both the current property value as well as the new property value.

  • AfterUpdateProperty – called after the property is updated. Any logic that only requires the new property value can be performed from within this method.