LRA-Newsletter by EF
Get short, practical lessons in your inbox about RevitAPI, pyRevit and AI.
217 ISSUES
2022 - 2026
~2 MIN EACH
One issue a week. Real scripts. Unsubscribe anytime.
Every Issue.
Search the archive or filter it by topic.
202510
152
🚀
Start Coding Faster By Looking Inside Your Elements First
Don't jump straight into code. Once you have an idea for your custom Revit tool, spend a few minutes looking inside elements to understand how to get the right data. This will speed up your coding process.
149
💻
Revit API Setup for Beginners (This will save you a lot of time!)
It's time to dive into actionable code. However, before we begin, let's make sure that you all setup your Dev Environment correctly to follow along the upcoming newsletters. So let's install it step by step together. Ready?
148
🔠
Learn How to Translate C# to Python (Step-By-Step Beginners Guide)
You can translate any C# code into Python. Once you understand the main differences in C# and Python Syntax, you'll be able to take any code example from documentation and turn it into python And the best part? It's not even that complicated. You just need to know the basics.
128
✅
Revit 2026 Python Support: Testing pyRevit & RevitPythonShell
Revit 2026 is here, and it already has the Python support we need. The pyRevit team was very quick to react and publish changes to provide support for Revit 2026. And to my surprise, RevitPythonShell has gotten a second breath and now supports Revit 2025 and 2026.
121
⚙️
How to modify Shared Parameters with Revit API and Python?
Managing Shared Parameters is Slow and Boring... But as pyRevit developers we can define the logic for managing parameters once, and then reuse it across all projects. And the more parameters you have, the more you need to automate how you manage them.
115
#️⃣
The art of writing clean python code with comprehensions.
Writing clean and minimalist code is an Art. There are many ways to reduce unnecessary fluff, but comprehensions are by far the simplest and most effective. They’re like a secret superpower for Python: easy to learn, elegant to use, and incredibly useful for transforming your data in just one line.
110
📊
Control Toggle Parameters in Revit with a Custom WPF Form
One of course students asked me: 'How to create a Form to control parameter toggle state with pyRevit?' And the answer is WPF. Whenever you need to create a UI form with custom functionality, WPF is often the best choice.
94
🔥
The #1 Mistake New Revit API Programmers Make.
Let's be honest - it's tempting to dive into the deep waters without learning to swim first. PS. I've actually done it as a kid and I almost drowned. I thought I will learn how to swim after I jump, and turns out that's not how it works... Luckily, someone has pulled me out unconscious. Thanks!
90
Learn How to Convert C# Code to Python (for Beginners)
As pyRevit Hacker, it's important to understand C# Syntax. This can help you find a lot more code examples for Revit API. And don't worry, you don't need to become C# devleoper for that. You just need to understand and recognize the main differences, so you can turn C# code into python. And it can be simpler than you would expect.
89
AI Assistant for Revit with Python | pyRevit Hacker Podcast #1
So, here's a plot twist I didn’t see coming: I’ve started a podcast🎙️! Yep, the pyRevit Hackers Podcast is officially live. The first episode will show you how to Add AI Assistant for Revit with Python.
20246
64
✨
WPF Course for pyRevit - Lesson 02
Welcome to the 2nd Lesson of WPF course for pyRevit. It's time to prepare your dev environment for WPF. And it's very simple. We just need to download and install Visual Studio IDE to access the WPF Designer.
63
✨
WPF Course for pyRevit - Lesson 01
Welcome to WPF Course for pyRevit Users! In the first module, I'll introduce you to the basic concepts like: - WPF (Windows Presentation Foundation) - MVVM (Model-View-ViewModel) - XAML (eXtensible Application Markup Language)
57
⌨️
Use Type Hinting In Python for Revit API
As you know, C# has a strict requirement for type declarations. It can be annoying, but it's also very useful for your IDE to get correct autocomplete options and debugging. Luckily, Python has a hidden feature for type-hinting. It can be really useful when you code and you know the types of elements.
54
🔴
AU 24 [Replay] - Get Started with Revit API using Python
Yesterday I've presented live on Autodesk University 2024 and it was amazing.There was a little mess with registrations because of the limit Autodesk has made, so I've heard that many of you couldn't even register for the event...👉 Click Here to Watch the Replay
46
⬇️
Install These Tools for Revit API to Code Faster [Lesson 4/10]
I'll let you in on a secret - I used to code without a proper setup. Big mistake, and it cost me countless hours and headaches. So I want to show you how to setup your Dev Environment for Revit API and avoid common mistakes.
40
pyRevit: How to import python3 packages like Numpy, Pandas or others
I've seen many of you try to use numpy, pandas or other python 3 packages, and many has reported various issues. So I want to help you solve this problem and show you how to do it step by step 💡You can Watch: How to import python3 packages like Numpy, Pandas or other in pyRevit
20232
11
Chat GPT for developers
🤖 Advances in AI technology in the last couple years have changed the way we will work forever. And while many have fears that it might replace us in the near future, I think of it as a tool that can help us be more efficient with our work.
10
Translate C# to Python
🧑💻 As a Revit API developer, it's important to understand C# syntax. Many forums and Revit API documentation have plenty of C# examples, so it can open up a lot of new learning resources. 💡And don't worry, you don't need to learn everything about C#. You just need to understand main differences so you can turn C# code into python.
20221
3
pyRevit Script Anatomy
"Computers are good at following instructions, but not at reading your mind. " Donald Knuth Let's go through basic instructions that pyRevit needs to execute your code and display all the given information correctly.