Generate PDF files in batch - SmartPlant Foundation - Help

SmartPlant Foundation Help

PPMProductFamily
Asset Information Management
PPMProduct
SmartPlant Foundation
PPMCategory
Help
SPFVersion_custom
2019 (10.0)
Version_Integration
(none)
Version_SPM_custom
2019 (10.0)
Version_SPPID
8.0.0
Version_SDAConnectorforTruView
(none)
Version_Fusion
(none)
Version_MTR
(none)
Version_SPO
(none)
Version_SPR
13.x(2018)
Version_TruView
(none)
Version_SDV
(none)

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 SmartPlant Foundation 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.

    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 design 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 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 and its delivered methods.