Attaching a file to an object - 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)

NLF example

The following load file is an example of attaching a file to an object. In this case, a transmittal is being attached.

.BeginContainer

.UploadInstruction

..RefClass|SPFDesignFile

..RefName|file2.txt

..RemoveLocalFileInd|False

.SPFDesignFile

..Name|file2.txt

..SPFCExternalTransmittal|JK1|SPFFileComposition_12

..SPFLocalDirectory|D:\Products\SPF40\SPF40_JK\XmtlFileAttach

..SPFLocalFileName|file2.txt

..SPFVault|SPF40Vault|SPFFileVault_12

..SPFEditInd|True

..SPFViewInd|True

.EndContainer

An alternate way of attaching file to an object is as follows:

.BeginContainer

.SPFCExternalTransmittal

..Name| JK1

..Action|AttachFile|D:\Products\SPF40\SPF40_JK\XmtlFileAttach\file2.txt|SPFDesignFile

.EndContainer

XML example

For an XML example of attaching a file to an object, see Design document creation.