Skip to content

revitron/revitron

Repository files navigation

Revitron

Revitron is a Revit API wrapper written in Python. It helps you to develop clean and powerful Revit plugins for pyRevit.

GitHub tag (latest by date) GitHub GitHub top language GitHub code size in bytes Read the Docs

Installation

There are three options for installing Revitron and the Revitron UI — using the pyRevit UI, using the pyRevit CLI or installing the full bundle.

☝ Note that in order to use the Revitron package manager or the bundle installer, Git must be installed on your computer.

Using the pyRevit UI

To use the Revit UI to install this extensions, open the pyRevit tab, click on pyRevit > Extensions to open the extensions manager and follow these instructions.

Using the pyRevit CLI

In case you want to use the command line to install Revitron and the Revitron UI, use the following command:

pyrevit extend lib revitron https://github.com/revitron/revitron.git
pyrevit extend ui revitron https://github.com/revitron/revitron-ui.git

Bundled Version

There is also a bundle installer available that will install pyRevit including the Revitron and the Revitron UI packages.

  1. Right-click here to download the installer. Make sure it keeps the .bat extension.
  2. Move the install.bat to the directory, where you want to install pyRevit.
  3. Double-click the install.bat file.
  4. Start Revit.

Revitron CLI Setup

In order to use the revitron command on the Windows CLI, its location has to be added to the environment as follows:

cd path\to\revitron.lib
cli\setup

Now you can use the revitron everywhere on the system.

Documentation

The full documentation and API reference as well as some cheat sheets can be found here.


© 2020-2022 Marc Anton Dahmen — MIT license