Revit projects consist of many revit elements. The Revit API provides the FilteredElementCollector class, perfect for filtering Revit elements. In this video, learn how to use the collector.
- [Narrator] In Revit or Dynamo,…we often need to find elements in the Revit document…such as a type of wall or window instance.…We can do this with the Revit API…by using a filtered element collector object…and applying different filters to it.…This filtered element collector object…can be used in three different ways.…To filter the Revit document.…To filter the Revit document and a set of element IDs…or to filter the document in a particular view…based on which parameter we used when creating…the filtered element collector object.…This will then search through all…of the elements based on this.…
A filtered element collector by itself searches,…but it doesn't know what to retrieve…until we apply one or more filters to it.…As an element passes through the collector,…the filter is used to check if it meets a certain criteria…such as checking if an element is…of a certain category or family type.…There are three different types of filters we can use:…quick, slow and logical and when we apply these,…we can retrieve the filtered elements.…
Note: This course uses Dynamo 1.3.1 and Revit 2018. For best results, it helps to have the same versions of the software.
- Importing the Dynamo Geometry library
- Defining variables
- Making decisions with conditionals
- Controlling flow with operators
- Defining functions
- Working with external libraries in Python
- Accessing the Revit API with Python
Skill Level Intermediate
1. Dynamo and Python
2. Python Basics
3. Working with Libraries
4. Revit API
Next steps2m 18s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.