01 Days 09 Hrs

🥳 Late-Bird Launch Is Coming on Feb 29th!

🥳 Late-Bird Launch Is Coming on Feb 29th!

Install Revit Plugins

First of all we need to prepare our development environment for Revit API. This will help you to write your code with ease. Let's start by installing Revit Plugins, and I will briefly explain them.

Install Revit Plugins

First of all we need to prepare our development environment for Revit API. This will help you to write your code with ease. Let's start by installing Revit Plugins, and I will briefly explain them.

Summary

Prepare Your Dev Environment (Part 1: Revit Plugins)

We will need to install the following Revit Plugins:
- Revit Lookup
- Revit Python Shell
- pyRevit

That's the holy trio for Revit API development with python.

P.S. We will use these plugins through-out the whole course, so you will get used to them.

  1. Revit Lookup - by Jeremy Tammik + Community

This is the most used plugin for Revit API development.

It allows us to access and view the data about our Revit Elements. It is amazing help for writing our code, because we can preview all properties and methods.

Not only we see their names, but also the actual values that they return. This preview will help you to follow the same steps in your scripts to access same values.

🎦 Follow installation instruction in the video.

  1. Revit Python Shell - by Daren Thomas

The next plugin will allow us to run python scripts within Revit environment. It's an interactive python shell that is useful for debugging and testing python code.

We could run complete python script with it, but pyRevit will be a much better option for complete tools.

🎦 Follow installation instruction in the video.

  1. pyRevit - by Ehsan Iran-Nejad + Community

Lastly - pyRevit. It's built on top of RevitPythonShell and it has a lot to offer:
  • There are a lot of custom tools
  • You can install Additional Extensions (incl. EF-Tools)
  • Everything is 100% Open-Source, so inspect the code.
  • Easy to create custom Extension (Folder Structure + python files)
  • a lot of extra modules with pre-written functions.
🎦 Follow installation instruction in the video.
  1. pyRevit Additional Extensions

You can also install additional pyRevit extensions and have a look how they were written.

Hold ALT and Click on any pyRevit button to open its folder with the source code. Inspect code to learn or reuse certain code snippets in your own scripts. That's beginner's dream come true!

👀 Check out EF-Tools extension.

HomeWork

✅ Make sure you install all necessary plugins before you move to the next lesson.

Revit Plugins:

1️⃣ Revit Lookup
2️⃣ Revit Python Shell
3️⃣ pyRevit

💡 Additionally, check out extra pyRevit extensions.

⌨️ Happy Coding!

Questions:

Revit Lookup has Updated

Revit Lookup Installer for older Revit Versions?

Revit Lookup SingleUser / MultiUser Installer