|Re: [ATL] casting of refImmediateComposite() needed ? [message #629469 is a reply to message #629443]
||Tue, 28 September 2010 12:21
| Sylvain EVEILLARD
Registered: July 2009
As I assume you're in refining mode, you have to know that this mode works with a refining trace model that stores all the transformation you're making on the model. That refining trace model is then used to apply the changes on the input model.|
So, in refining mode, you're not really working on the elements themselves but on the corresponding refiningTrace elements.
In fact, when you execute
, this will return the refining Trace element associated with the real element you targetted.
thisModule.resolveTemp(sCu.refImmediateComposite(),'tIS') , 'Cube')
So, the error you get is not a "cast" error. It's just telling you that zLayouts doesn't exist on the type Element of the meta-model RefiningTrace.
I'm afraid, you'll have to find another way to access the zLayouts of the element.
Powered by FUDForum
. Page generated in 0.01682 seconds