Revit and Excel
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1'
bim-cli connects Revit and Excel with pipes. Export a schedule to a spreadsheet, import parameter updates back in, audit warnings — all from a terminal or an AI assistant.
Moving data between Revit and Excel usually means an add-in with its own dialog, a manual schedule export, or copy-paste — and re-doing it every time the model changes. bim treats both as JSON: a Revit schedule comes out as rows, an Excel file reads back as rows, and a pipe connects them. The same command runs by hand, in a script, or from an AI assistant, and there's no per-seat license.
Export: Revit to Excel
Pipe any Revit schedule directly to an Excel file. No schedule export dialog, no text file intermediate. bim revit schedule-read returns the schedule's columns and rows, and bim excel write takes the rows straight from the pipe:
bim revit schedule-read --name "Door Schedule" | bim excel write ./doors.xlsx
Export a Revit schedule to Excel →
To export sheet numbers and names instead of a schedule, see Export a Revit sheet list to Excel.
Import: Excel to Revit
Read parameter updates from a spreadsheet and write them back into Revit elements with bim revit param set. It matches rows by element id: an id column plus one column per parameter. Dry-run first, then keep:
bim excel read params.xlsx | bim revit param set --only Comments --dry-run
bim excel read params.xlsx | bim revit param set --only Comments
The reply lists every row's old and new value, and an undo block that pipes back into param set. A sheet keyed by Mark instead of id goes through set-by-mark.cs with bim revit exec.
Audit: warnings to Excel
Export all model warnings with element IDs to a spreadsheet for review and assignment.
bim revit warnings-export | bim excel write ./warnings.xlsx
Export Revit warnings to a spreadsheet →
Round-trip workflow
Export the elements with their ids, edit in Excel, import back:
bim revit element-list --category OST_Doors --properties Mark,Comments | bim excel write ./doors.xlsx
edit the Comments column in Excel; keep the id column
bim excel read doors.xlsx | bim revit param set --only Comments --dry-run
bim excel read doors.xlsx | bim revit param set --only Comments
The id column from the export is the key on import. No mapping wizard.
Common questions
Do I need the Revit add-in? For schedule-read, element-list and param set, yes — Revit must be installed: bim starts it (or attaches to the one you have open) and installs its add-in on first use. The Excel side (excel read/excel write) is standalone and needs neither Revit nor Excel installed.
What matches rows on import? param set matches on the element id column. Rows whose id isn't in the model, or whose value can't be set, come back as row errors with a hint, and --dry-run shows all of it before anything is kept. To match on Mark or another parameter, use set-by-mark.cs with bim revit exec.
Which Revit versions? 2024, 2025, 2026, and 2027. The Excel driver is version-independent.
Can I write to Google Sheets instead? Yes — swap bim excel write ... for bim google sheets append --spreadsheet <id> --with-header. See the Google driver.
Install
iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1
Works on Revit 2024 through 2027. No admin rights, no per-seat license.
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1'
Then ask your assistant to run bim describe --json. See what the installer does.