No.
First, MooseModel allInstances will also return the root model - this is the
one that holds the models you see in the panel.
Second, you can have models that are not stored in the root model, and these
will be returned by allInstances. For example, the models we use in the
tests are not registered.
Cheers,
Doru
On Thu, Sep 29, 2011 at 10:47 AM, Andre Hora <andrehoraa(a)gmail.com> wrote:
I don't think so Nicolas.
With MooseModel allInstances you will also have references to the Root
model and deleted models.
With MooseModel root allModels you just have the models listed in Moose
Panel.
On Thu, Sep 29, 2011 at 10:34 AM, Nicolas Anquetil <
nicolas.anquetil(a)inria.fr> wrote:
just curious, is it equivalent to:
MooseModel allInstances
nicolas
----- Mail original -----
De: "Tudor Girba"
<tudor(a)tudorgirba.com>
À: "Moose-related development" <moose-dev(a)iam.unibe.ch>
Envoyé: Mercredi 28 Septembre 2011 21:48:25
Objet: [Moose-dev] Re: Obtaining models
MooseModel root allModels.
Doru
On 28 Sep 2011, at 21:43, Santiago Vidal wrote:
Hi,
How can I obtain the models listed in moosePanel programmatically
(that is without using the UI)?
Thanks!
--
Santiago Vidal
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"Presenting is storytelling."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
Andre Hora
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
--
www.tudorgirba.com
"Every thing has its own flow"