One command exports every sheet in the model to PDF. Filter by sheet number prefix, write to any output folder, and get Revit's native PDF engine — vector graphics, embedded element IDs, the same quality as File > Export > PDF — all without touching the Revit UI.
export-views drives Revit's built-in PDF engine from the terminal. Pass a filter to match sheet numbers; omit it to export every sheet in the model.
bim revit export-views --filter "A-" --output ./drawings/
{"ok":true,"sheets":12,"output":"C:\\drawings\\export-views.pdf"}
bim revit export-views --output ./drawings/
The output is one PDF per sheet, named by sheet number. Revit stays open throughout — bim-cli connects to the running session over a local TCP bridge and drives the export without opening any dialogs.
Works on Revit 2024, 2025, and 2026. No admin rights required.
bim pdf info reads the PDF header and reports page count, producer, and whether the file contains BIM element tags.
bim pdf info drawings.pdf
{"ok":true,"data":{"pages":12,"producer":"Adobe PDF Library 18.0.5","version":"1.6","size_bytes":4096000,"has_bim_tags":true}}
bim pdf pages lists each page with its sheet label and dimensions — useful for scripting downstream steps.
bim pdf pages drawings.pdf
{"page":1,"label":"A101","width_mm":841,"height_mm":594}
{"page":2,"label":"A102","width_mm":841,"height_mm":594}
Revit combines all sheets into one file when you export a set. page split writes one PDF per page into an output directory.
bim pdf page split drawings.pdf --output ./sheets/
A 142-sheet combined export becomes 142 individual files, one per sheet.
page collect assembles a new PDF from specific pages of an existing one. Pass a comma-separated list or a range.
bim pdf page collect drawings.pdf --pages 12-24 --output structural.pdf
bim pdf page collect drawings.pdf --pages 1,3,7,12 --output selected.pdf
Every element in a Revit-exported PDF is wrapped in a tagged content block that encodes its ElementId. bim pdf marked extracts all ElementIds from the content streams. A typical floor plan contains 300–400 tagged elements.
bim pdf marked drawings.pdf
{"page":1,"element_id":1234567,"bounds":[120.4,340.2,180.1,380.5]}
{"page":1,"element_id":1234568,"bounds":[200.0,340.2,260.0,380.5]}
Pair with bim revit exec to resolve ElementIds back to category, type, and parameter values from the live model.
bim pdf optimize reduces file size without re-rendering. Useful before uploading large combined sheet sets.
bim pdf optimize drawings.pdf --output drawings-optimized.pdf
bim pdf package embeds a BIM element JSON file as a PDF/A-3 associated file attachment — drawing and structured BIM data in one self-contained file.
bim pdf package drawings.pdf --attach elements.json