Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Question about Variable Filter
Question about Variable Filter [message #1769784] Thu, 03 August 2017 11:46 Go to next message
Bo Zhang is currently offline Bo ZhangFriend
Messages: 28
Registered: July 2017
Junior Member
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'
index.php/fa/30259/0/

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

index.php/fa/30260/0/


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

index.php/fa/30261/0/

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).

index.php/fa/30262/0/
  • Attachment: 1.png
    (Size: 218.38KB, Downloaded 588 times)
  • Attachment: 2.png
    (Size: 268.23KB, Downloaded 341 times)
  • Attachment: 3.png
    (Size: 213.71KB, Downloaded 370 times)
  • Attachment: 4.png
    (Size: 27.73KB, Downloaded 241 times)

[Updated on: Thu, 03 August 2017 11:51]

Report message to a moderator

Re: Question about Variable Filter [message #1769848 is a reply to message #1769784] Fri, 04 August 2017 07:45 Go to previous messageGo to next message
Laurent Redor is currently offline Laurent RedorFriend
Messages: 252
Registered: July 2009
Senior Member
Hi,
The solution is the first but the expression must be something like
 aql:not myhider->includes(self)

regards,
Laurent


Laurent Redor - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Question about Variable Filter [message #1769852 is a reply to message #1769848] Fri, 04 August 2017 08:32 Go to previous message
Bo Zhang is currently offline Bo ZhangFriend
Messages: 28
Registered: July 2017
Junior Member
Laurent Redor wrote on Fri, 04 August 2017 15:45
Hi,
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.
Previous Topic:Edge Reconnection Tool
Next Topic:[RESOLVED]
Goto Forum:
  


Current Time: Sat Mar 28 19:21:57 GMT 2020

Powered by FUDForum. Page generated in 0.02297 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top