Hi, How can I obtain the models listed in moosePanel programmatically (that is without using the UI)? Thanks!
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@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Presenting is storytelling."
Thanks!
2011/9/28 Tudor Girba tudor@tudorgirba.com
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@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Presenting is storytelling."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
just curious, is it equivalent to:
MooseModel allInstances
nicolas
----- Mail original -----
De: "Tudor Girba" tudor@tudorgirba.com À: "Moose-related development" moose-dev@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@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Presenting is storytelling."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
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@inria.fr> wrote:
just curious, is it equivalent to:
MooseModel allInstances
nicolas
----- Mail original -----
De: "Tudor Girba" tudor@tudorgirba.com À: "Moose-related development" moose-dev@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@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Presenting is storytelling."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
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@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@inria.fr> wrote:
just curious, is it equivalent to:
MooseModel allInstances
nicolas
----- Mail original -----
De: "Tudor Girba" tudor@tudorgirba.com À: "Moose-related development" moose-dev@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@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"Presenting is storytelling."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- Andre Hora
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev