revitcli

Crates.iorevitcli
lib.rsrevitcli
version1.2.0
created_at2025-07-14 15:07:18.683206+00
updated_at2025-09-10 12:36:12.726505+00
descriptionA CLI tool for managing Revit add-in projects
homepage
repositoryhttps://github.com/graysonrie/rev
max_upload_size
id1751874
size89,403
Grayson Rieger (graysonrie)

documentation

README

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

Commit count: 15

cargo fmt