Design document creation - 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 following load file is an example of creating a design document.

NLF example

.BeginContainer

.SetConfiguration

..Configuration|PlantA

.SPFDesignDocMaster

..Name|77-D-G-006

..Description|Main Air Blowers P&ID

..SPFDataAccessGroup|ENGINEER|SPFItemOwningGroup_12

..SPFDocumentClass|Utility P&ID|SPFPrimaryClassification_21

..SPFTitle|77-D-G-006

..SPFRevisionScheme|RevA1|SPFDocRevisionRevisionScheme_12

..SPFMajorRevision|A

..SPFMinorRevision|1

..SPFDocState|RESERVED

..SPFRevState|WORKING

..SPFDocVersion|1

..SPFPrgWeighting|100

..SPFFunctionalArea|02|SPFADocumentMasterArea_12

..SPFFunctionalUnit|U201|SPFADocumentMasterUnit_12

..SPFContract|CN-001003|SPFADocumentMasterContract_12

.EndContainer

XML example

For an example of using a fully qualified XML-based load file with this operation, please refer to the model build file DATA_Reports.xml on Smart Community. For more information, see Find sample data on Smart Community.

This file loads template documents and their files that use the SPFTemplateFile class definition for the file. For design documents and similar documents, use the SPFDesignFile class definition.

SPFDesignFile class definition does not use the ISPFDBFile interface definition. Swap SPFTemplateFile for SPFDesignFile in the example file and remove the line containing ISPFDBFile.