All filtering functionality in the viewer is handled by the FilteringExtension
.
FilteringExtension
take object ids as a means to select objects for filtering.
Like any other extension you need to add it at initialisation time:
RevitWall
speckle type.
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:
Filtering Example