Linea - Cursor style chat for Revit
Linea is a Revit add-in that allows users to create custom tools without writing code. It eliminates the overhead of scripting, sharing, and reusing automations by letting engineers create and run custom tools via LLM chat, right inside Revit. Build once, run instantly, and share effortlessly across your organization.
Creating tools to automate repetitive or project-specific tasks in Revit is often time-consuming and impractical. Engineers know what needs to be automated but typically lack the time, coding skills, or resources to build tools efficiently. Even when tools are created, sharing them requires clunky workarounds like ZIP files or GitHub repos just to execute a single task. This leads to:
- Wasted engineering hours on scripting instead of design
- Underutilization of automation due to technical barriers
- Duplication of effort across teams and projects
- Friction in sharing and reusing tools across the organization
Linea solves these problems by embedding a natural language AI assistant directly into Revit. Users can create one-off tools with custom logic, like dynamically changing duct colors by floor, or save and share tools for repeated use. They can even view and modify the generated script before saving.
The system is built on Microsoft Azure using PromptFlow and Azure AI with a custom o3-mini deployment and RAG backend. It uses FastAPI for the backend, and the Revit client is developed in C# with a WPF interface following MVVM architecture.
Technologies Used
Key Challenges
Designing a real-time natural language interface inside Revit
Interfacing AI-generated scripts safely with Revit's API
Dynamically compiling and executing C# code generated by the AI
Maintaining performance while dynamically loading custom scripts
Outcomes & Impact
Enabled non-coders to automate Revit tasks with zero scripting
Allowed users to easily share and reuse custom automation tools
Reduced engineering hours spent on repetitive model edits
Accelerated organizational adoption of Revit automation workflows