ResetDesignBasisByVersion 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 resets the design basis in the SmartPlant Foundation database to the document version specified, meaning that all tombstones/unclaims/update instructions associated with document versions of the specified document generated after the specified document version, will be retrieved again in the next retrieve.

Signature

ResetDesignBasisByVersion (sRetDocUID as String, sRetDocVersionUID As String) As Long

Arguments

Name

Data type

Input/output

Description

sRetDocUID

String (maximum 128 characters)

Input

The UID of the retrieved document that is being reset.

sRetDocVersionUID

String (maximum 128 characters)

Input

The UID of the document version to which the design basis is being reset.

Return Value

0 if the method is successful.

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