O'Reilly logo

Instant Autodesk Revit 2013 Customization with .NET How-to by Don Rudder

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Element filtering (Must know)

The Revit API offers quite a few options for finding elements in the active document. Some methods for collecting elements are quicker than others and it is important to understand how to gauge this performance between the various methods that you may want to be experimenting with. Filtering for elements by class type or category is an example of a very simple and straightforward filtering type and due to its simplicity can be performed quite efficiently. It is when you have a set of more strict filtering requirements that will typically result in slower element filtering performance, such as across multiple categories matching a specific component naming pattern.

The two filtering methods we will learn in this recipe ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required