LearnRevitAPI

Dec 18, 2022

Master Getting Elements

Getting the right Elements is half the solution, and it doesn't need to be complicated. Let's learn more about FilteredElementCollector.



How Does it Work?

FilteredElementCollector(FEC) is one of the most used classes in Revit API.
In combination with Filters we can get specific elements from projects based on criteria we specify.

This is the most typical way of getting elements with FEC

πŸ‘‡

FilteredElementCollector is easier than it looks!

Firstly, you need to learn how to get all instances or types of a specific Category or Class, and it's not so hard, once you break down all the steps. 

πŸ‘€ Have a look at the image below.

More Examples:

⚠️ I want you to have a look and compare how to get different elements. It might look intimidating to write this long line to get elements. However, you will notice that I changed very little and got completely different results. 

πŸ‘‡

I will write more about RevitAPI Filters next Sunday, so stay tuned if you are curious on how to filter elements with certain parameter values.

Learn More:

YouTube Tutorial

Check out my Tutorial on FilteredElementCollector if you want to learn more. It's going to make it much easier to understand how to use it with Revit API Documentation.

πŸ‘€Watch Now

mini E-Book (20 pages)

In this mini E-Book, you'll learn how to get Revit elements with python using FilteredElementCollector and Revit API Filters. It's a good reference guide to keep on your desk.

You can decide what it's worth!
πŸ‘‰ Get it Now! 

Enjoyed Newsletter?

Leave a Testimonial Here.

⌨️ Happy Coding!
Erik Frits

Join Newsletter

πŸ“© You will be added to Revit API Newsletter

Join Us!

which is already read by 6700+ people!