Basic Principles
This sub-topic 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 re-opening 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 to the filter itself, and takes into account 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 will result in the view being out-of-date (even if the views represent the 3D shape representations only). Therefore, you should make sure that the filter query excludes any unwanted representation or product.
For example, a filter on a product attribute criterion will also show all 3D & drafting representations which are attached to intermediate nodes of the product, unless additional filtering criterion are included in the filter.