RevitBatchProcessor
Fully automated batch processing of Revit files with your own Python or Dynamo task scripts!
Install / Use
/learn @bvn-architecture/RevitBatchProcessorREADME
<span style="color:green; font-size:16px"> ATTENTION: Due to other commitments the original author of Revit Batch Processor (@DanRumery) is unable to support RBP for the future. For questions please seek help from the community such as the Dynamo and Revit API forums.
</span>Revit Batch Processor (RBP)
Fully automated batch processing of Revit files with your own Python or Dynamo task scripts!
Latest version (NEW)
Version 1.12.1 beta release is available, which includes support for Revit 2026. Installer is here
See the Releases page for v1.12.1 release notes.
RBP Sample Scripts
Click here for some sample RBP python scripts maintained by Jan Christel (@jchristel)
Many thanks to Jan for authoring and making these RBP sample scripts public!
FAQ
See the Revit Batch Processor FAQ.
Use cases
This tool doesn't do any of these things, but it allows you to do them:
- Open all the Revit files across your Revit projects and run a health-check script against them. Keeping an eye on the health and performance of many Revit files is time-consuming. You could use this to check in on all your files daily and react to problems before they get too gnarly.
- Perform project and family audits across your Revit projects.
- Run large scale queries against many Revit files.
- Mine data from your Revit projects for analytics or machine learning projects.
- Automated milestoning of Revit projects.
- Automated housekeeping tasks (e.g. place elements on appropriate worksets)
- Batch upgrading of Revit projects and family files.
- Testing your own Revit API scripts and Revit addins against a variety of Revit models and families in an automated manner.
- Essentially anything you can do to one Revit file with the Revit API or a Dynamo script, you can now do to many!

Features
- Batch processing of Revit files (.rvt and .rfa files) using either a specific version of Revit or a version that matches the version of Revit the file was saved in. Currently supports processing files in Revit versions 2015 through 2026. (Of course the required version of Revit must be installed!)
- Custom task scripts written in Python or Dynamo! Python scripts have full access to the Revit API. Dynamo scripts can of course do whatever Dynamo can do :)
- Option to create a new Python task script at the click of a button that contains the minimal amount of code required for the custom task script to operate on an opened Revit file. The new task script can then easily be extended to do some useful work. It can even load and execute your existing functions in a C# DLL (see Executing functions in a C# DLL).
- Option for custom pre- and post-processing task scripts. Useful if the overall batch processing task requires some additional setup / tear down work to be done.
- Central file processing options (Create a new local file, Detach from central).
- Option to process files (of the same Revit version) in the same Revit session, or to process each file in its own Revit session. The latter is useful if Revit happens to crash during processing, since this won't block further processing.
- Automatic Revit dialog / message box handling. These, in addition to Revit error messages are handled and logged to the GUI console. This makes the batch processor very likely to complete its tasks without any user intervention required!
- Ability to import and export settings. This feature combined with the simple command-line interface allows for batch processing tasks to be setup to run automatically on a schedule (using the Windows Task Scheduler) without the GUI.
- Generate a .txt-based list of Revit model file paths compatible with RBP. The New List button in the GUI will prompt for a folder path to scan for Revit files. Optionally you can specify the type of Revit files to scan for and also whether to include subfolders in the scan.
Unlimited Power
"With great power come great responsibility" -- Spiderman
This tool enables you to do things with Revit files on a very large scale. Because of this ability, Python or Dynamo scripts that make modifications to Revit files (esp. workshared files) should be developed with the utmost care! You will need to be confident in your ability to write Python or Dynamo scripts that won't ruin your files en-masse. The Revit Batch Processor's 'Detach from Central' option should be used both while testing and for scripts that do not explicitly depend on working with a live workshared Central file.
Build & Installation Instructions
Installer
Installer for Revit Batch Processor v1.12.1 beta
The Revit Batch Processor (GUI) application will appear in the Start menu after the installation.
Build from Source code
Open the solution file RevitBatchProcessor.sln in Visual Studio 2017 or later and run Build Solution (F6).
Revit addins will be automatically deployed to the Addins folder for each available Revit version [2015-2026]. e.g. %APPDATA%\Autodesk\Revit\Addins\2019
The BatchRvtGUI project is the GUI that drives the underlying engine (the BatchRvt project). Once built, run BatchRvtGUI.exe to start the Revit Batch Processor GUI.
When rebuilding, please make sure all Revit applications are closed before attempting the rebuild.
Requirements
- At least one version of Revit installed. Currently supports Revit versions 2015 through 2026.
- To build from source code, Visual Studio version 2017 or later.
- If executing Dynamo scripts from the task script, Dynamo 1.3+ installed (currently supports Revit versions 2016 through 2026). NOTE: The Dynamo script MUST have been saved with the 'Automatic' Run mode. There MUST BE EXACTLY ONE VERSION OF DYNAMO INSTALLED for each version of Revit.
- If using an Excel file for the Revit File List, Microsoft Office / Excel installed.
License
This project is licensed under the terms of The GNU General Public License v3.0
Copyright (c) 2021 Daniel Rumery, BVN
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Credits
Daniel Rumery @DanRumery (Original / Primary Author)
Other Contributors (code)
- Vincent Cadoret @vinnividivicci
- Ryan Schwartz @RyanSchw
- Dimitar Venkov @dimven (Upgraded support for Revit 2025)
- Nicklas Ostergaard @NicklasOestergaard (Upgraded support for Revit 2022)
- Peter Smith @punderscoresmithuk (Upgraded support for Revit 2023)
- Maciej Wypych @maciejwypych (Upgraded support for Revit 2024 and more)
Usage
The two ingredients you will need in order to use the Revit Batch Processor ("RBP") are:
-
An Excel (.xlsx) file or Text (.txt) file that contains a list of Revit file paths. Each file path must be fully qualified (no partial paths).
For an Excel file this means the first column of each row contains a file path.
For a Text file this means each line contains a file path.
For example:
P:\15\ProjectABC\MainModel.rvt P:\16\ProjectXYZ\ModelA.rvt P:\16\ProjectXYZ\ModelB.rvt P:\16\ProjectXYZ\ConsultantModel.rvtNOTE: you can generate this list in .txt format using the New List button in the GUI. It will prompt you for a folder to scan for Revit files. Optionally you can specify the type of Revit files to scan for and also whether to include subfolders in the scan.
New in version 1.6+
There is limited support for processing files in BIM360. For BIM360-hosted files, use the following format instead:
<Revit version> <Project Guid> <Model Guid>Note: these three components must be separated by space(s) (not tabs!).
For example:
2020 75b6464c-ba0f-4529-b049-0de9e473c2d6 0d54b8cc-3837-4df2-8c8e-0a94f4828868 2020 c0dc2fda-fd34-42fe-8bb7-bd9f43841dbf d9f011d6-d52c-4c9f-9d7b-eb8388bd3ed0RBP is not able to detect the Revit version of cloud models hence why the Revit version is specified explicitly.
-
A Dynamo (.dyn) or Python (.py) task script. This script will be executed once for each file in the list.
For Dynamo scripts, any workspace (.dyn) file should work as a task script without modification. (Indeed, if you find a script that works in Dynamo but not in RBP, submit an Issue to the RBP github page!)
For Python scripts (*.py) they should contain at minimum the following code:
'''Output "Hello Revit world!" to the console / log.''' # This section is common to all Python task scripts. import c
