GetRevision As String - 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)

Description

This method returns a revision value for a given document. Some tools maintain document revisions within their database either by their own revisioning mechanism. Such tools will return a revision value when this method is called. Other tools will simply return a null string.

A check is done before calling this method by using the SupportsFeature method as described in SupportsFeature As Boolean. If the tool supports revisions, then only this method is called.

Arguments

Name

Data type

Input/output

Description

oDocumentIObj

IObject

Input

IObject interface on the document object.

Return Value

Revision as string.

Comments

If the method fails, the tool will raise an error and set Err.Number and Err.Description appropriately.