|
|
|
|
Re: AQL query works on Sirius interpreter, returns error on M2DOC [message #1823050 is a reply to message #1823031] |
Wed, 18 March 2020 16:30  |
Eclipse User |
|
|
|
I found the solution by myself. I'll share here for future reference:
It seems the problem was the type returned by "ce.source" was something more generic than the ComponentPort (which has the orientation feature).
I just added a cast (or typed it) as fa::ComponentPort using "oclAsType()" and then I was able to call the "orientation" feature.
ce.source.oclAsType(fa::ComponentPort).orientation
ce is a variable containing a component exchange: for ce | self.eAllContens(fa::ComponentExchange)
Not sure if that is the real reason but that was how I reasoned about it.
[Updated on: Wed, 18 March 2020 16:33] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.06729 seconds