ReleaseReviseDocumentListContainers Method - Integration - Update 44 - Help - Hexagon

SmartPlant Integration COM Help

Language
English
Product
Integration
Search by Category
Help
SmartPlant Foundation / SDx Version
10
Smart P&ID Version
9 (2019)
Smart Engineering Manager Version
10 (2019)

This method is called in conjunction with GetDocumentContainersForRevise. The purpose of this method is to cancel the revise transaction started in the GetDocumentContainersForRevise method called previously. The design tool will call this method if an error occurs after GetDocumentContainersForRevise is called or if the design tool allows users to cancel the operation after GetDocumentContainersForRevise is called or if the authoring tool’s logic forces a cancel.

This method releases all pointers to Container Compositions and Containers created in the GetDocumentContainersForRevise method and terminates the revise transaction.

Arguments

None

Return Value

0 if the method is successful.

A negative number if the method fails. (Check LastErrorMessage property for error message).

Comments

The design tool should release all local pointers to containers.