Export Revit schedule to 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'
Most teams do this by opening the schedule in Revit, exporting to a text file, and reformatting in Excel. There are also per-seat add-ins that handle it as a GUI workflow — useful if you're doing it by hand, less useful if you want it automated. This page is the one-line version: your assistant pipes the schedule directly into a spreadsheet.
Pipe a Revit schedule directly to an Excel file — no dialogs to click, no copy-paste, no per-seat license required. Revit runs in its own window while bim reads the schedule.
Prompt
Copy this into your AI coding tool:
Export the Door Schedule from a Revit model to Excel using bim-cli.Step 1 — install bim-cli if not already installed: 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'
Step 2 — refresh PATH in your current session: bash: export PATH="$PATH:$LOCALAPPDATA/bim-cli" pwsh: $env:Path += ";$env:LOCALAPPDATA\bim-cli"
Step 3 — open the model: bim revit open "C:\path\to\model.rvt"
Step 4 — list available schedules to confirm the name: bim revit exec --no-transaction --code "return new FilteredElementCollector(doc).OfClass(typeof(ViewSchedule)).Cast<ViewSchedule>().Select(s => s.Name).ToList();"
Step 5 — read the named schedule: bim revit schedule-read --name "Door Schedule"
It returns {name, columns, rowCount, rows}. Pipe it into Excel; bim excel write takes the rows array from the pipe (./ keeps the file in the current folder): bim revit schedule-read --name "Door Schedule" | bim excel write ./doors.xlsx
Each schedule row becomes a row in the Excel file. Column names come from the schedule's column headings.
The pipeline
bim revit exec --no-transaction --code "return new FilteredElementCollector(doc).OfClass(typeof(ViewSchedule)).Cast<ViewSchedule>().Select(s => s.Name).ToList();"
["Door Schedule","Window Schedule","Room Finish Schedule",...]
bim revit schedule-read --name "Door Schedule"
{"ok":true,"name":"Door Schedule","columns":["Mark","Type","Width","Height","Level"],"rowCount":47,"rows":[{"Mark":"D-01","Type":"Single Flush",...},...]}
bim revit schedule-read --name "Door Schedule" | bim excel write ./doors.xlsx
bim revit schedule-read reads the named schedule without a Revit transaction and returns its column headings and rows. bim excel write reads the pipe and writes the rows array; the schedule's column headings become the Excel column headers.
This replaces the manual workflow of: open schedule view → select all → copy → paste into Excel. bim-cli does it in one terminal line with no per-seat license. To import data back into Revit after editing in Excel, see import Excel into Revit.
To export sheet numbers and names rather than a schedule, see Export a Revit sheet list to Excel.
What the test harness checks
bim scenario run tests/scenarios/schedule-to-excel.yaml --strict
Why this exists
Extracting a Revit schedule to Excel is one of the most common BIM manager tasks — QA checks, cost estimating, door hardware schedules, room finish reports. The pipe from bim revit schedule-read to bim excel write does the same job in one line with no dialogs and no seat license. The machine needs Revit 2024–2027 installed; bim installs its small add-in on first use, and Revit needs one restart to load it if it was already open.
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.