On 6 Dec 2017, at 10:42, Tudor Girba
<tudor(a)tudorgirba.com> wrote:
Hi,
Hmm, I just checked and something seems wrong with the name cache of the group when we
add MooseModel inside. As a consequence, entityNamed: is not working.
Thanks because I was also surprised.
In the meantime, MooseModel root allModels gives you the group and you can iterate
explicitly over it:
MooseModel root allModels detect: [ :each | each name = #mymodel ]
Yes this is a better way than my stuid way.
Cheers,
Doru
On Dec 6, 2017, at 9:44 AM, Stéphane Ducasse
<stephane.ducasse(a)inria.fr> wrote:
Hi guys
I loaded a model into moose and
MooseModel root first gives me the model but it is bad.
Is there a way to access the model?
Then I do not understand why the storage by name is empty.
I cannot do
MooseModel root entityNamed: #mymodel.
Stef
--------------------------------------------
Stéphane Ducasse
http://stephane.ducasse.free.fr
http://www.synectique.eu /
http://www.pharo.org
03 59 35 87 52
Assistant: Julie Jonas
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France
_______________________________________________
Moose-dev mailing list
Moose-dev(a)list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev
--
www.tudorgirba.com
www.feenk.com
"It's not how it is, it is how we see it."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)list.inf.unibe.ch
https://www.list.inf.unibe.ch/listinfo/moose-dev
--------------------------------------------
Stéphane Ducasse
http://stephane.ducasse.free.fr
http://www.synectique.eu /
http://www.pharo.org
03 59 35 87 52
Assistant: Julie Jonas
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France