LRA-Blog by EF

Long form writeups on pyRevit, the Revit API and AI. Some carry the video, some are just the write-up.

Every Post.

Newest first. The chip on each card says what kind of post it is.

41 posts
27:17 Jul 2026 VIDEO

pyRevit MCP: Connect ANY AI Agent to Revit (Full Setup Guide)

WATCH AND READ
1:57:17 Jun 2026 VIDEO

The Full pyRevit Course for Beginners (Setup → Your First Button)

WATCH AND READ
Dec 2025 WRITTEN

Convert Revit Coordinates with Revit API [Internal, Project, Survey]

Learn how to convert XYZ Coordinates in Revit API.

READ POST
12:00:00 Oct 2025 VIDEO

The Ultimate Python Course For Beginners (Learn How To Code in 2026)

WATCH AND READ
17:29 Aug 2024 VIDEO

Revit API Course For Beginners (The Best Way To Get Started)

WATCH AND READ
Jul 2024 WRITTEN

pyRevit WPF Form for Asking user for Multiple Paths

If you ever wanted to ask your users for multiple paths, you can use this custom WPF form.

READ POST
Jul 2024 WRITTEN

How to create Revit API Stubs for Autocomplete with pyRevit

Download Revit API Stubs 20-24 and learn how to create your own stubs with pyRevit.

READ POST
Jul 2024 VIDEO

How to add Python 3 packages to pyRevit? (pandas, numpy, openpyxl...)

WATCH AND READ
Jul 2024 WRITTEN

How to Cut a Pipe/Duct in half with Revit API/

Let me show you how to cut a Pipe/Duct in half with Revit API. You will need to use BreakCurve method.

READ POST
Jul 2024 WRITTEN

How To Purge View Templates with pyRevit

Learn how to purge View Templates in your Revit project with pyRevit.

READ POST
Jun 2024 WRITTEN

How To Purge View Filters with pyRevit

Learn how to purge View Filters in your Revit project with pyRevit.

READ POST
Jun 2024 WRITTEN

Create Interactive Revit Reports with pyRevit Linkify

Learn how to use pyRevit's Linkify to create linkable buttons to select elements, open views or even find elements in the active view

READ POST
May 2024 WRITTEN

Revit API Resources You Didn't Know About!

If you ever felt stuck learning Revit API, then you will love these resources.

READ POST
Apr 2024 WRITTEN

How to Create IUpdater in Revit with pyRevit (Create Custom Features)

Find the best resources and training for pyRevit, RevitAPI and Python for Revit Users. Even if you've never coded before... This was tested on 600+ Students who absolutely loved the training.

READ POST
Apr 2024 WRITTEN

Find Intersecting Rooms and Areas

Sometimes you might want to relate your rooms to areas, but it's not possible in Revit. Or is it? Let's take the matter in our own hands and make it possible!

READ POST
Apr 2024 WRITTEN

Disable Dragging Elements on Selection with pyRevit startup script

We all know that feeling when we've accidentally dragged a 3D element in Revit. It's not fun especially if we haven't even noticed it. So let's find a solution

READ POST
Apr 2024 WRITTEN

Create 3D BoundingBox by using DirectShape

Learn how to create a DirectShpae from element's BoundingBox to better understand the geometry when you need it.

READ POST
Mar 2024 WRITTEN

Suppress Warnings in Revit API

Learn how to suppress warnings with Revit API when you make changes in the project and get some annoying warnings.

READ POST
Mar 2024 WRITTEN

Create Sections on the ScopeBox edges

ScopeBoxes can be very versatile, and converting their edges to sections might also create a unique workflow in your office. Let me show you how to do that. The video will show you how to create Window Secitons, but the same can be applied to other elements.

READ POST
Mar 2024 WRITTEN

pyRevit Hooks: How to create EventTriggers to Block CAD Imports in Revit API?

EventTriggers are very powerful in Revit API. They allow you to subscribe to certain events and execute specific code only when this action is triggered. It opens a whole new world for automation.

READ POST
Feb 2024 WRITTEN

How to Place Views on Sheets with Revit API?

Stop Dragging Your Views on Sheets in Revit! Automate with Revit API instead! I will show you how to place multiple views on sheets by using pyRevit.

READ POST
Feb 2024 WRITTEN

Stop Wasting your Time on Revit Sections. Automate with Revit API!

Learn How-To Automate Sections in Revit For windows with Revit API and python. We will create 336 sections with a click of a button. Each unique window type will have elevation, cross-section and plan view. That’s the power of Revit API.

READ POST
Jan 2024 WRITTEN

How To Get Material Layers from Wall, Floors and Roofs

Learn how to get material layers from WallType, FloorType, RoofType, CeilingType by accessing CompoundStructure.

READ POST
Jan 2024 WRITTEN

How to Get Default Type in Revit API?

Learn how to get default types of your categories in Revit with a single line!

READ POST
Jan 2024 WRITTEN

How To Cut FilledRegions with a Detail Line

Learn how we can use Revit API to cut selected Filled Regions with a Detailed Line. It's not as complicated as you might expect! You can also check how this works in the YouTube video among other cool tools I made for EF-Tools (Free Extension for Autodesk Revit)

READ POST
Dec 2023 WRITTEN

Get Elements with ElementParameterFilter

Here you will learn about getting Elements,Type or Family by providing a Type or Family Name.

READ POST
Feb 2023 WRITTEN

RevitAPI: Get/Create FilledRegionType

There is no method to create new FilledRegionType. But it does not mean we can not duplicate existing one and adjust its parameters. Read More if you want to Create new FilledRegionType.

READ POST
Oct 2022 WRITTEN

Isolate Elements with Revit API and python

There is no method to permanently isolate elements. So I will show you how to use .Excluding method of FilteredElementCollector to hide everything except elements we need.

READ POST
Oct 2022 WRITTEN

Get Solid Fill Pattern in Revit API

Learn how to get Solid Fill Pattern. It can be useful in creating Graphics Override Settings.

READ POST
Oct 2022 WRITTEN

Copy Elements with RevitAPI + Python

This article will show you how to CopyElements using Revit API and python. There are 3 CopyElements methods to choose from and I have examples for all of them included!

READ POST
Oct 2022 WRITTEN

Get TitleBlock from Sheet.

Learn how to get TitleBlocks from ViewSheet with ElementParmaeterFilter in Revit API

READ POST
Oct 2022 WRITTEN

Create Views with Revit API + python

We need to create Views for many different tools. So let's learn learn how to get correct ViewTypes and create views.

READ POST
Oct 2022 WRITTEN

Override Elements with Revit API (SetElementOverrides)

Learn how to override graphics of your elements in a view with Revit API + python. It's actually quite simple, even though we need to use many methods to create settings!

READ POST
Sep 2022 WRITTEN

Revit API: How to change associated Level in Walls?

Check out this snippet with explanation to change top and base constraints of a Wall.

READ POST
Sep 2022 WRITTEN

Get Warnings with RevitAPI

How to get Warnings and associated elements with Revit API + Python.

READ POST
Sep 2022 WRITTEN

How-To Offset CropBox of ViewPorts with Revit API

Change CropBox of your selected views on sheet with Revit API and python.

READ POST
Sep 2022 WRITTEN

How to Get All Categories in Revit API?

This is not complicated by any means. In fact it's just a single line to get all of them, and then we can filter down to any category with list comprehensions. Check my examples with Revit API + python.

READ POST
Jul 2021 WRITTEN

Get ViewSheet from a given View

Sometimes you might want to get a Sheet of your Active view, or any other. Check out this snippet of a function that will return ViewSheet of any given View.

READ POST
Dec 2020 WRITTEN

Update ProjectBrowser with RevitAPI

Have you ever changed SheetNumber with RevitAPI to find out that nothing happens, at least visually? Revit does not update ProjectBrowser after SheetNumber change. So we have to do it manually.

READ POST
Dec 2020 WRITTEN

Match View's cropbox shape

Do you want to match CropBox of one view and apply it to many others? Here is a Snippet with a function to do so.

READ POST
Dec 2020 WRITTEN

Get CropBox Id in Revit with Python.

Learn how to get CropBox Id in Revit API.

READ POST