Fallback for queries if no elements filter is provided #5901

This commit is contained in:
Andrej730
2024-12-25 15:07:28 +05:00
parent e3aaf5defa
commit ff147a4c24
4 changed files with 34 additions and 9 deletions
@@ -87,9 +87,15 @@ The filters are chained and apply from left to right.
filter[, filter]*
There are nine types of filters to choose from. Some of these filters will add
new elements to your filter group, and some will filter previously added
elements in your filter group based on their criteria.
Below is the table of filters to choose from. Most of these filters will filter
previously added elements in your filter group based on their criteria.
There are two exceptions - if ``elements`` are not provided to ``filter_elements``
*Class* and *GlobalId* filters (without ``[!]``) will add new elements to the filter group ,
otherwise they'll also filter elements based on criteria.
If neither *Class* and *GlobalId* and ``elements`` are not provided then filter
will search through all IfcTypeProducts and IfcProducts in the IFC project.
.. csv-table::
:header: "Filter", "Type", "Usage", "Example"