Skip to main content
In a nutshell you can:
  • Hide/show objects
  • Isolate/unisolate objects
  • Color objects based on properties
All functions provided by the FilteringExtension take object ids as a means to select objects for filtering. Like any other extension you need to add it at initialisation time:

Hiding and Showing

Let’s say we want to hide all the walls of a model. First thing we need to do is to find out the ids of the walls we want to hide. Depending on the model, a wall object might mean different things, but let’s consider a Revit example where a wall object has the RevitWall speckle type.

Isolating and Unisolating

Similar to hiding, let’s say we want to isolate all floors. Here’s how:

Coloring by Properties

This filtering operation is different than the ones before as it involves the notion of properties. The viewer needs PropertyInfo objects in order to filter by color, but that’s fine because there’s a builtin way of getting them by using:
With properties available, we can now do some color filtering!
Filters can be combined to a certain extent, but as a general rule of thumb, any particular object in the scene will always look how its last filter (if any) told it to look.

Filtering Example

Last modified on July 18, 2026