Visitar URL original
Installation | RevitDevTool
Skip to main content

Installation

RevitDevTool installs as an add-in bundle for Revit and AutoCAD-based products. One installer covers every supported host and year.

Prerequisites
  • Windows 10 or 11
  • Autodesk Revit, AutoCAD, Civil 3D or Plant 3D, 2022–2027
  • .NET 10 runtime, only if you connect an AI client through MCP

Install​

  1. Download RevitDevTool-Setup.exe from the newest daemon/v... release on GitHub Releases.
  2. Run the installer.
  3. Start your Autodesk application.
  4. Open the RevitDevTool (Revit) or DevTools (AutoCAD) panel from the ribbon.

On the Add-Ins tab, under External Tools, choose DevTools. StubBuilder and Commands sit beside it.

RevitDevTool buttons on the Revit Add-Ins ribbon

That's it. The installer registers one add-in bundle per host under %APPDATA%\Autodesk\ApplicationPlugins\: RevitDevTool.bundle for Revit and AcadDevTool.bundle for AutoCAD. Only the hosts you select are downloaded. The Daemon is installed under %LOCALAPPDATA%\RevitDevTool, and installation.json lives in %APPDATA%\RevitDevTool.

Update​

The Daemon and the add-in update separately from the Updates tab. Each follows the stable or prerelease channel. Versions 4.0.0-beta.7 and earlier cannot update in place: run RevitDevTool-Setup.exe once, then use the Updates tab. Coming from 3.x? Follow Upgrade from 3.x to 4. See Release Notes for what changed.

No administrator rights needed

The installer works for the current Windows user only, so it runs without elevation.

Run your first script​

Save this file as hello_script.py in an empty folder:

hello_script.py
# /// script
# dependencies = ["polars"]
# ///

import polars as pl
from Autodesk.Revit import DB

doc = __revit__.ActiveUIDocument.Document
walls = DB.FilteredElementCollector(doc).OfClass(DB.Wall)

print(pl.DataFrame({"name": [w.Name for w in walls]}))
Dependencies live in the script

The # /// script header lists the packages the script needs. They install automatically before the first run, so there is no requirements.txt to maintain.

Then:

  1. Open the RevitDevTool panel and turn on the Execution toggle.
  2. Choose Load Scripts, then select the folder.
  3. Pick the discovered command and run it.

The output appears in the panel's log view. On Revit, traced geometry is also drawn in the active view.

A folder shows up as a command only if it holds an entry file: *script.py (CPython), *_ipy_script.py (IronPython), *script.csx (C#) or *script.fsx (F#). See Execution Overview for what each runtime supports.

Where to go next:

Connect an AI client​

Point any MCP v2 client that supports stdio (Cursor, Claude, GitHub Copilot, …) at the MCP server installed with the Daemon:

mcp.json
{
"mcpServers": {
"revitdevtool": {
"type": "stdio",
"command": "%LOCALAPPDATA%/RevitDevTool/current/DevTools.Daemon.exe",
"args": ["--stdio"]
}
}
}

The server finds running hosts automatically. The tools your client gets are listed in MCP Protocol.

Build from source​

Contributors can build from source with the SDK pinned in global.json. See Build From Source.