| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Comprehensive developer toolkit for Autodesk Revit with code execution, visualization, and logging.
For developers and researchers who need:
Not another Revit add-in loader. RevitDevTool is a complete development environment focused on rapid prototyping, computational design, and data science workflows.
Set breakpoints, inspect variables, step through Revit API calls in real-time.
Declare packages inline. System auto-installs. No manual pip, no venv setup.
# /// script
# dependencies = ["pandas==2.1.0", "numpy>=1.24"]
# ///
import pandas as pd
from Autodesk.Revit import DB
doc = __revit__.ActiveUIDocument.Document
walls = DB.FilteredElementCollector(doc).OfClass(DB.Wall)
data = [{"Name": w.Name, "Area": w.Area} for w in walls]
df = pd.DataFrame(data)
print(df.groupby("Level").agg({"Area": ["sum", "mean"]}))Monitor output with color coding, JSON formatting, and Python stack traces.
Render curves, faces, solids directly in Revit view without creating model elements.
# Pick edge, visualize automatically
ref = uidoc.Selection.PickObject(ObjectType.Edge)
edge = elem.GetGeometryObjectFromReference(ref)
print(edge) # Renders in 3D viewDownload and run the MSI installer from Releases.
Create hello.script.py:
# /// script
# dependencies = []
# ///
from Autodesk.Revit import DB
doc = __revit__.ActiveUIDocument.Document
walls = DB.FilteredElementCollector(doc).OfClass(DB.Wall)
print(f"Found {walls.GetElementCount()} walls")→ Complete Getting Started Guide
| Aspect | RevitDevTool | pyRevit |
|---|---|---|
| Target User | Developers & researchers | End users |
| Python | CPython 3.13 | IronPython 2.7 (default) |
| Packages | Full ecosystem (pandas, numpy, AI/ML) | Limited (Revit API only) |
| Dependencies | Automatic (PEP 723 + UV) | Manual pip install |
| Debugging | VSCode (full IDE) | pdb (command-line) |
| Best For | Development, research, data science | Ribbon automation for teams |
| Tool | Python | Auto-dependencies | VSCode Debugger | Best For |
|---|---|---|---|---|
| pyRevit | IronPython 2.7 | ❌ | ❌ | End-user automation |
| Dynamo | CPython 3.9 | ❌ | ❌ | Visual programming |
| RevitDevTool | CPython 3.13 | ✅ UV | ✅ debugpy | Development & research |
|
source/RevitDevTool.PythonDemo/commands/
|
source/RevitDevTool.DotnetDemo/
|
git clone https://github.com/trgiangv/RevitDevTool.git
cd RevitDevTool
# Restore and build for Revit 2025
dotnet restore
dotnet build RevitDevTool.sln -c "Release R25"Available configurations: Release R22, Release R23, Release R24, Release R25, Release R26
[→ Build Guide](docs/README.md#🤝 Contributing)
Contributions welcome! Here's how to get started:
→ GitHub Discussions for ideas → GitHub Issues for bugs
Built on the shoulders of giants:
MIT License - see LICENSE for details.
Made with ❤️ for the Revit developer community ⭐ Star this repo if you find it useful!
| Back | FazBrowse Home | New Git URL |