Basic Principles
This subtopic explains the basic principles that determine the creation of views with filters.
A filter applies to a whole product. But a view is created from 3D elements loaded in session. So when loading 3D data (when reopening the drawing for example), all 3D representations of the product that are impacted by the filter are loaded in the view.
When defining a filter on a product, you can see only a subset of the products and representations that make up this product. When creating a Drafting view, you can select such a filter to represent in the view only the subset of the product that results from the filtering.
In this case, the view is associated with the filter itself, and considers any modification that impacts the result of filtering on the product:
- Modification of the filter query itself
- Modification of the product that changes the result of the filtering (for example modifying the value of a product attribute when the filter query is on this attribute)
- Modification of one of the representations that are part of the result.
Any modification performed in any product or representation that is part of the result is detected, and results in the view being out-of-date (even if the views represent the 3D shape representations only). Therefore, you must make sure that the filter query excludes any unwanted representation or product.
For example, a filter on a product attribute criterion must also show all 3D & drafting representations that are attached to intermediate nodes of the product, unless an extra filtering criterion is included in the filter.