Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: BastienF on March 11, 2025, 03:04:32 am

Title: Combine diagram filters AND / OR
Post by: BastienF on March 11, 2025, 03:04:32 am
Dear community,

Different diagram filters can be defined on a project. One can select one or more at the same time. It will combine the filters as: an element is displayed of at least one filter rule is passed (OR logic).

1° Would it be possible to set that all the filter rules must be passed for the element to be displayed (AND logic)?
2° Would it be possible to set complexe rule within one filter? For instance: (A and B) or C

Thanks in advance for your help
Title: Re: Combine diagram filters AND / OR
Post by: Takeshi K on March 11, 2025, 10:03:42 am
Hello BastienF,

About the question 1, we can create 'AND' filters by the Filter Group. For detail, see:
https://sparxsystems.com/enterprise_architect_user_guide/17.0/modeling_fundamentals/work_with_diagram_filters.html

But we cannot nest Filter Groups, so we cannot create filters like (A and B) or C.

HTH,
Title: Re: Combine diagram filters AND / OR
Post by: BastienF on March 14, 2025, 11:16:33 pm
Thanks for your answer Takeshi