Skip to main content
To All Projects
AI Revit Assistant
C#Revit APIAI / LLMWPF

AI Revit Assistant/

2025

About/

A Revit add-in that puts an AI chat interface directly inside the modeling environment. Describe what you need in plain language — "create floor plans for all levels," "tag every door on this floor" — and the assistant translates it into a structured JSON workflow, previews the steps on a canvas, and executes them through the Revit API.

The add-in is model-agnostic: it works with OpenAI, Anthropic, local models, or any provider that exposes a chat completions endpoint. Swap the backend without touching the plugin.

How It Works/

A ribbon tab in Revit with two buttons: Chat and Settings. Chat opens a WPF window where you type a request. The message goes to the configured LLM, which returns either a plain-text answer or a JSON workflow. Workflows appear as a visual preview on a canvas — review the steps, then hit execute.

Ask in natural language, get back executable automation — or just a straight answer when that's all you need.

Currently over 40 Revit commands are supported: creating views and sheets, tagging elements, applying templates, querying model data, batch-setting parameters, exporting schedules to Excel, and more.

Workflow Engine/

The executor parses a JSON object with a workflow array of steps. Each step maps to a Revit API action. Supports variable passing between steps, ForEach loops over collections, and template resolution for dynamic arguments.

JSON
{
  "workflow": [
    { "command": "GetLevels", "result": "levels" },
    { "command": "ForEach", "list": "levels", "steps": [
      { "command": "CreateFloorPlan",
        "args": { "level": "{{item}}" } }
    ]}
  ]
}

What's Coming/

This is early stage — the core loop works, but the vision is much bigger. Next up: context-aware prompting where the LLM receives live model metadata to generate more precise workflows, and multi-step plan review so you can approve or edit steps before anything touches the model.

The long-term goal is an AI co-pilot for every BIM task — not just command execution, but understanding project context and suggesting actions proactively.

Stack/

  • C# / .NET 4.8
  • Revit API 2024+
  • WPF / XAML
  • LLM API (provider-agnostic)
  • Newtonsoft.Json
  • PowerShell build & deploy