ResetDesignBasis Methods in ISPClientApplicationUI Interface - Integration - Update 46 - Help - Hexagon

SmartPlant Integration .NET 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)

ResetDesignBasis As Long

This method resets the design basis in the SmartPlant Foundation database to the beginning of the project for all documents if the sRetDocUID is NULL. All tombstones/unclaims/update instructions are retrieved again in the next retrieve. If the sRetDocUID is specified, then only that document is reset to the beginning and only the tombstones/unclaims/Update instructions associated with that document are retrieved when the document is retrieved next time.

Arguments

None.

Arguments (overloaded)

Name

Data type

Input/output

Description

sRetDocUID

String (maximum 128 characters)

Input

Optional. The UID of the retrieved document that is being reset. If the argument is NULL, then the reset is done on all retrieved documents.

Return Value

  • 0 if the method is successful.

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