Skip to content

graysonrie/rev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Revit CLI Tool

A command-line interface tool for managing Revit add-in projects, making it easier to build, export, and manage Revit add-ins.

Features

  • Build Revit add-in projects using MSBuild or dotnet
  • Export add-ins to the correct Revit directory
  • Manage Revit version settings
  • Locate project DLLs
  • Handles both standard add-ins and web-based UIs (Next.js)

Installation

Option 1: Install from source

  1. Make sure you have Rust installed (Install Rust)
  2. Clone this repository
  3. Run:
cargo install --path .

Option 2: Install from binary

Download the latest release from the releases page and add it to your system PATH.

Prerequisites

  • Windows OS
  • .NET SDK or Visual Studio Build Tools
  • Revit installation (2019-2025)

Usage

# Build the current project
rev build

# Export the add-in to Revit
rev export

# Check current Revit version
rev revit-version

# Change target Revit version
rev change-revit-version

# Locate project DLL
rev locate

Development Requirements

  • Rust 1.75 or later
  • Windows 10/11
  • Visual Studio 2022 or MSBuild Tools 2022
  • .NET SDK 6.0 or later

Building from Source

  1. Clone the repository
  2. Run cargo build --release
  3. The binary will be available in target/release/rev.exe

License

MIT License

About

simplifies testing and exporting Revit addins

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages