Callback functionality - 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

The example PreHandlerUIDAndOrMethodDefUID sets the effective date back to the time the starting object (version) was superseded. The next relationship expansion is then performed at that time. Then we need to reset the effective date back to what it was originally.

For this purpose we've implemented a property on the EdgeDefMethodDefEventArgs where you can specify the UID of any MethodDef on the current object. This allows the effective date to be set back and also to re-query for the latest version of the target item(s).