In a case where a drawing has been published with N items (version 1) and is then published again with N-x items (Version 2), SmartPlant Foundation creates a callback to the EFAdapter to query on the missing items, through the following functions:
-
IEFAdapter_GetObjectStatusInTool
-
IEFAdapter_GetRelationshipInTool
If the items are not found in the tool database, the items are considered deleted, and the SmartPlant Adapter passes this back to SmartPlant Foundation which, then, creates a Delete instruction. If the items are found in the database, but have been moved to a different drawing, SmartPlant Foundation manages this and updates its database.