Generate PDF files in batch - SmartPlant Foundation - IM Update 46 - 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)

You can schedule PDF files to be generated in batch using a File menu command, Create Renditions in Batch. A scheduled task, BatchRendTask-FT_pdf, is created when you run this command. A notification is generated when the scheduled task is processed. You can right-click the notification in the List of Notifications and click View Log File to view a summary log. The log shows the number of submitted files with a list of any failed files.

What class definitions and file types can I run batch rendition generation on?

Batch rendition generation only runs on valid class definitions and file types:

  • A class definition is only valid if it realizes ISPFAlternateRenditionComposition if the target rendition file type is FT_csf, FT_pdf, FT_binz, or FT_vecz or realizes ISPFThumbnailComposition if the target rendition file type is FT_png.

  • A file type is only valid if it has the SPFFileTypeFileType relationship definition with the target rendition file type that is specified on the method.

  1. Log on to the Desktop Client on the SmartPlant Foundation application server.

  2. Click Find > Administration > Method.

  3. In the Name box, type CreateRenditionsInBatch and click OK.

  4. Right-click CreateRenditionsInBatch, and click Update.

  5. In the Rendition file type box, type FT_pdf.

    SHARED Tip By default, the rendition file type is set to FT_csf.

  6. In the ClassDefs box, you can specify one or more class definitions (separated by commas) on which batch rendition generation is to be performed. For example, enter SPFDesignFile to generate PDF files for files attached to documents.

  7. In the File Types box, you can specify one or more file types (separated by commas) on which batch rendition generation is to be performed. For example, enter FT_docm to generate PDF files for Word Open XML Macro-Enabled Document files.

  8. Click Regenerate alternate renditions in batch to regenerate any existing PDF alternate renditions.

  9. Click Finish.

View Log File command

The View Log File command is delivered with the software. The method, ViewBatchRenditionLog, is configured on the ViewBatchRenditionLog client API. This method is related to the ISPFBatchRenditionNotification interface definition and to the VIEWONLY access group. For more information, see ViewBatchRenditionLog client API.