Question about Variable Filter [message #1769784] |
Thu, 03 August 2017 07:46  |
Eclipse User |
|
|
|
My requirement is filter the family which is selected. But it can't work, please help me. Thank you.
1. I define a variable filter and use 'Select Model Variable'

When I run the filter, all the Houses are disappear, what I want is just hide the family that I selected.

2. When I define the 'Filter Kind' to Collapse. All the Bordered Node are collapsed. It's very strange.

3. Otherwise, when I define a 'Typed Variable', I can't set the 'Value Type' like the document descripts (http://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#variable_filter).

Attachment: 1.png
(Size: 218.38KB, Downloaded 729 times)
Attachment: 2.png
(Size: 268.23KB, Downloaded 471 times)
Attachment: 3.png
(Size: 213.71KB, Downloaded 513 times)
Attachment: 4.png
(Size: 27.73KB, Downloaded 379 times)
[Updated on: Thu, 03 August 2017 07:51] by Moderator
|
|
|
|
Re: Question about Variable Filter [message #1769852 is a reply to message #1769848] |
Fri, 04 August 2017 04:32  |
Eclipse User |
|
|
|
Laurent Redor wrote on Fri, 04 August 2017 15:45Hi,
The solution is the first but the expression must be something like
aql:not myhider->includes(self)
regards,
Laurent
Thank you very much, it works as you said.
|
|
|
Powered by
FUDForum. Page generated in 0.08505 seconds