This article describes how you can filter components in Solibri. By using filters, you can include, exclude and ignore components. You can, for example, limit the filter to only look at one discipline in a federated model or filter only the internal or external doors in a model to isolate them for a particular set of checks.
Filtering is critical in optimising performance when writing classification and rules. Filtering allows the task to be focused specifically on only the components required by the rule or classification. For example, if you want to check corridor widths in a model meet minimum requirements, a filter should be applied to the rule to ensure only the relevant spaces are included in the rule (in turn excluding many irrelevant spaces from the process).
The article covers the following topics:
Related articles:
Notice
If the component class is the same, the rows added after the first row function as additional filter, specifying the first filter.
Tip
You can use the Selection Basket functionalities to check if your filter operates correctly.
Filtering in Solibri is so important that there is a dedicated view with the same critical functionality included in rule templates and Information Takeoff and Classification views. The Filtering view is an additional view and can be added to any layout:
Here are some important points to note when using filters:
Row order in filters does not matter.
Keeping the rows of the same component types next to one another vertically makes it easier to keep track of how those component types are being filtered. If you wish to reorder the rows, use and .
-
In Solibri v9.13.4 and newer, you can copy, cut and paste rows between filters. You can also select multiple rows to be copied/cut:
Exclude filters take precedence over Include filters. For any components that match a filter with an Exclude state, those components are excluded no matter how many filters with an Include state match them.
-
Include filters use an AND operator with rows of the same component type, and an OR operator with rows of different component types.
Exclude filters use an OR operator.
Ignore filters have no any effect on what components are included or excluded. The purpose of setting a filter to the Ignore state is to temporarily disable the filter row rather than deleting it. This comes in handy for example when experimenting by turning filters on or off to see what matches, or if a filter needs to easily be turned on or off on-the-fly later on.
For more information on how to select components for filtering, see Selecting Components for Filtering.
In the Filtering view, you can save and load filters for future use. This saves a significant amount of time when you have complicated filters, such as the Components.filter which is included in the default Solibri resources:
The filter is saved as a .filter file, and the default location is the Filters folder under the Solibri resources. To open a previously saved filter, click . To save the current filter, click in the Filtering view toolbar: