LearnRevitAPI
![](https://framerusercontent.com/images/zMFB840Y52OLteloUT4BRuogE.png)
![](https://framerusercontent.com/images/U9zjOvD4k3m6cIJd5bOiu960DeI.png)
Dec 18, 2022
Master Getting Elements
![](https://framerusercontent.com/images/Sd5FTaxiqzG7oeH1ykV6yypUzXo.png?scale-down-to=512)
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
π
![](https://framerusercontent.com/images/WduZqNKSxrcweCHYvMabymUDbYE.jpg)
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.
![](https://framerusercontent.com/images/SMRzx8BfOjt2MU2ZYP8sDawM.jpg)
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.
π
![](https://framerusercontent.com/images/pAl1nMoQJJjweYOUZT4WUYFTBco.jpg)
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:
![](https://framerusercontent.com/images/PZORZWA9DGZEjw17fhFbWFwYRag.png)
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.
![](https://framerusercontent.com/images/j0xvQQweatTXq2JAU1BO1napllI.jpg)
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!
Join Newsletter
π© You will be added to Revit API Newsletter
Join Us!
which is already read by 6700+ people!
![](https://framerusercontent.com/images/svHzzMLtnnRCxtCUwbgAm6CUeB8.jpg)
![](https://framerusercontent.com/images/Y44kwhY0i7q37LzXUjrlxeGUo.jpg)
![](https://framerusercontent.com/images/lqKYmh8rqwZwgY2C9MSQER6iBCI.jpg)
![](https://framerusercontent.com/images/SyGCvJ3dbHsJEyklWWBhweY.jpg)
![](https://framerusercontent.com/images/DwiaUdmQHs3FVdDH2PXwAr0Y.jpg)