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.
27:17
pyRevit MCP: Connect ANY AI Agent to Revit (Full Setup Guide)
WATCH AND READ
1:57:17
The Full pyRevit Course for Beginners (Setup → Your First Button)
WATCH AND READConvert Revit Coordinates with Revit API [Internal, Project, Survey]
Learn how to convert XYZ Coordinates in Revit API.
READ POST
12:00:00
The Ultimate Python Course For Beginners (Learn How To Code in 2026)
WATCH AND READ
17:29
Revit API Course For Beginners (The Best Way To Get Started)
WATCH AND READpyRevit 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 POSTHow 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
How to add Python 3 packages to pyRevit? (pandas, numpy, openpyxl...)
WATCH AND READHow 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 POSTHow To Purge View Templates with pyRevit
Learn how to purge View Templates in your Revit project with pyRevit.
READ POSTHow To Purge View Filters with pyRevit
Learn how to purge View Filters in your Revit project with pyRevit.
READ POSTCreate 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 POSTRevit API Resources You Didn't Know About!
If you ever felt stuck learning Revit API, then you will love these resources.
READ POSTHow 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 POSTFind 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 POSTDisable 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 POSTCreate 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 POSTSuppress 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 POSTCreate 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 POSTpyRevit 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 POSTHow 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 POSTStop 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 POSTHow To Get Material Layers from Wall, Floors and Roofs
Learn how to get material layers from WallType, FloorType, RoofType, CeilingType by accessing CompoundStructure.
READ POSTHow to Get Default Type in Revit API?
Learn how to get default types of your categories in Revit with a single line!
READ POSTHow 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 POSTGet Elements with ElementParameterFilter
Here you will learn about getting Elements,Type or Family by providing a Type or Family Name.
READ POSTRevitAPI: 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 POSTIsolate 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 POSTGet Solid Fill Pattern in Revit API
Learn how to get Solid Fill Pattern. It can be useful in creating Graphics Override Settings.
READ POSTCopy 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 POSTGet TitleBlock from Sheet.
Learn how to get TitleBlocks from ViewSheet with ElementParmaeterFilter in Revit API
READ POSTCreate 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 POSTOverride 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 POSTRevit API: How to change associated Level in Walls?
Check out this snippet with explanation to change top and base constraints of a Wall.
READ POSTGet Warnings with RevitAPI
How to get Warnings and associated elements with Revit API + Python.
READ POSTHow-To Offset CropBox of ViewPorts with Revit API
Change CropBox of your selected views on sheet with Revit API and python.
READ POSTHow 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 POSTGet 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 POSTUpdate 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 POSTMatch 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 POSTGet CropBox Id in Revit with Python.
Learn how to get CropBox Id in Revit API.
READ POST