Documents with multiple 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)

Some documents require more than one file to be complete. In this case, you can attach multiple files to a document, or create multiple documents and attach one file to each document. If you create multiple documents, you can create and name the documents as multiple sheets of the same document. Documents with multiple sheets can be configured using ENS and a method created using the CreateNextSheet client API. For more information, see CreateNextSheet client API.

The CreateNextSheet client API copies a document and creates a new master, revision, and version of the document. It increments the sheet number portion of the document name. The method arguments indicate the position of the sheet number in the name of the object (parameter 1) and the length of the sheet number (parameter 2). You can also specify the name of a property that will contain a manually entered sheet number (parameter 3). If parameter 3 is specified, then the system determines the next sheet number from the specified property. Otherwise, the system queries the database to determine the next sheet number in the sequence.

The first document in the set must be configured with ENS. For example, a document named U10-D4-01 is created using an ENS definition. CreateNextSheet can be configured with argument 1 (StartPosition) = 8 and argument 2 (Length) = 2. CreateNextSheet creates a document using the next number in the sequence, U10-D4-02. Alternatively, you can use argument 3 (SheetNoPropertyDef) to identify a display item on the form in which the user can enter a specific sheet number.