Set a PDF File Name and Output Path When Printing from Revit
Question details
The user needs to set a PDF output folder and file name automatically when generating PDFs from an application such as Revit.

- Product
- Adobe PDF printer and Autodesk Revit
- Device & OS
- not provided
- Scenario
- An automated application needs to generate PDF files without prompting a user for each output location.
- Observed behavior
- The Adobe PDF printer does not provide the required scriptable output-path and file-name controls for the described workflow.
Check whether your source application's version supports native PDF export and whether its API can specify the output folder and file name. Confirm that the account running the automation can write to the intended folder.
Use the source application's supported PDF export
Use native PDF export when the application and its API provide the output controls needed for your workflow.
In a supported version of Revit, open File > Export > PDF and review the available export options.
In the PDF export dialog, select the views or sheets and configure the destination and naming options available in your version.
Consult the source application's API documentation for its PDF export method, output folder, and file-naming options before adding the export to your script.
Run the export with a small selection, then open the destination folder and verify the PDF names and contents.

Choose a PDF-generation tool with an output API
Use a third-party tool when the source application cannot provide the required file naming and path controls.
Export an Office document to a named PDF with WPS Office
For a manual document export, WPS Office lets you choose a PDF name and destination. This is an alternative for individual Office documents, not a replacement for an unattended Revit PDF export API.
- 1. Open the document: Open WPS Office and use Open to select the document, spreadsheet, or presentation.
- 2. Start PDF export: Choose Menu > Export to PDF, or use the Export to PDF command available in your WPS application.
- 3. Choose the output: In the export dialog, select the destination folder and enter the desired PDF file name.
- 4. Export and check: Click Export, then open the destination folder to check the resulting PDF.

Frequently Asked Questions
Can I pass an output path directly to the Adobe PDF printer for this workflow?
The Adobe PDF printer does not provide the scriptable path and file-name controls required for the described workflow. Use a supported application export method or a PDF tool with an output API instead.
Where can I find PDF export in Revit?
In supported Revit versions, open File > Export > PDF. Check your version and its API documentation for available naming, destination, and automation options.
How can I tell whether a PDF tool supports unattended batches?
Check its API or command-line documentation for output-folder and file-name parameters, then test a small batch under the account that will run the automation. Confirm that no save prompts appear.
Can WPS Office replace the automated Revit export?
The WPS Office steps on this page describe manual PDF export for Office documents. They do not establish an unattended Revit export workflow.




