Configure the snapshot method for data sheets - SmartPlant Foundation - IM Update 48 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

The CreateDatasheetDocumentSnapshot method is related to the ISPFDatasheetDocRevision interface and the CreateSnapShot client API. The method has no GUI and requires no arguments because the data required is set up on the document when it is created.

This method navigates to the tag and creates a data sheet, which results in the creation of a view file (an Excel data sheet) and a data file, an XML representation of the data behind the data sheet at that time. The files are stored in the vault and related to the latest version of the revision against which the command was initiated.

This method has the OKToCreateDatasheetDocumentSnapshot condition on it. The condition is set to the following:

”Count(Obj->SPFDocumentRevisions_21->SPFDatasheetDocumentTag_12)=1 and ANY(Obj->EDG_LatestVersion.SPFIsDocVersionCheckedOut)=False and ANY(Obj->EDG_LatestVersion.SPFIsDocVersionSuperseded)=False and Obj.SPFRevState='WORKING' and Env.CREATECONFIGUID = Obj.Config”

This condition determines whether the document version is a working version that is checked in and is not superseded.