Generate WebGL viewer files in batch - 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)

Batch generation is performed only on the class definitions and file types that are specified on the CreateRenditionsInBatch method.

Since generating WebGL viewer files in batch is a time-consuming process, a scheduled task (BatchWebFileGenTask-FT_binz or BatchWebFileGenTask-FT_vecz) is created, and a notification is generated when the task is processed. You can right-click the notification in the List of Notifications and click View Log File to view a summary log that was 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 View Log File command is made available by the delivered ViewBatchRenditionLog method, configured using the ViewBatchRenditionLog client API. This method must be related to the ISPFBatchRenditionNotification interface and to the VIEWONLY access group. To learn more about the arguments configured on this method, see ViewBatchRenditionLog client API.

Generate WebGL viewer files in batch for 2D drawings

  1. In the Desktop Client, click Find > Administration > File Type to open a list of all defined file type objects.

  2. Drag the 2D drawing (.igr, .pid, .sma, .spe, .sha, and .zyq) file type objects to the 2D WebGL viewer file (.vecz) file type object to create a SPFFileTypeFileType relationship definition.

    The delivered CreateRenditionsInBatch method is configured using the CreateRenditionsInBatch client API. By default, the method is included in the DocumentUpdate access group. To learn more about this method, see CreateRenditionsInBatch client API.

Generate WebGL viewer files in batch for 3D models

If an XML file with the same name as a non-published Smart 3D model file is attached to a design document, a label database file (.mdb2) is automatically generated in addition to the 3D WebGL viewer file (.binz). The label database file (.mdb2) is required for searching tags in a non-published Smart 3D model file using the Web Client. The Show hidden files option in the Change User Preferences dialog box must be selected to show label database files in the Desktop Client.

  1. In the Desktop Client, click Find > Administration > File Type to open a list of all defined file type objects.

  2. Drag the Smart 3D (.zvf and .vue) file type objects to the 3D WebGL viewer file (.binz) file type object to create a SPFFileTypeFileType relationship definition.

    The delivered CreateRenditionsInBatch method is configured using the CreateRenditionsInBatch client API. By default, the method is included in the DocumentUpdate access group. To learn more about this method, see CreateRenditionsInBatch client API.