Create and view batch renditions - 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)

Renditions can be generated in batch from a File menu command, Create Renditions In Batch. This command converts all supported file types to Content Sealed Format (.csf), Portable Document Format (.pdf), Portable Network Graphics (.png), 2D WebGL viewer file (.vecz), or 3D WebGL viewer file (.binz) file viewing formats. The rendition file is attached to the document, along with the original file, and its revision and version information is managed by the same document. PDF and CSF rendition files may contain markups, watermarks, and labels if the method is configured with the relevant parameters to include markups, watermarks, and labels.

Generating renditions in batch is a time-consuming process. When you launch the command, a scheduled task (BatchRendTask-FT_csf, BatchRendTask-FT_pdf, BatchRendTask-FT_png, BatchWebFileGenTask-FT_vecz, or BatchWebFileGenTask-FT_binz) is created, and a notification is generated when the task is processed. Right-click the notification in the List of Notifications, and select View Log File to view a summary log created with the batch request. The log shows the number of submitted files with a list of any failed files.

SHARED Tip More details can be viewed by opening the SmartPlant Foundation server log (use the RemoteServices trace switch), the SmartPlant Foundation remote services log, the SmartPlant Markup log, or the SmartPlant Markup Server Status page.

The default timeout value for processing the conversion is 300 seconds per file. This value can be configured in the Remote Services web.config file (the ProcessTimeOutforAlternateRendition parameter). The required values must be defined in seconds.

To configure the Create Renditions In Batch command, complete the following:

  • Configure the CreateRenditionsInBatch method using the CreateRenditionsInBatch client API and link the method to a relevant access group to make it available from the File menu. For more information, see CreateRenditionsInBatch client API.

  • Class definitions and file types are validated on the CreateRenditionsInBatch method and batch rendition is performed only on the valid class definitions and file types. A file type is valid if it has a SPFFileTypeFileType relation with the Rendition file type specified on the method, such as FT_png.

To configure the View Log File command, complete the following:

  • Configure the ViewBatchRenditionLog method using the ViewBatchRenditionLog client API, associate the method with the ISPFBatchRenditionNotification interface, and link the method to a relevant access group to make it available to users with required permissions to view the batch rendition log. For more information, see ViewBatchRenditionLog client API.