Hi,
How can I obtain the models listed in moosePanel programmatically (that is without using the UI)?
Thanks! Santiago Vidal _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
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 > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev -- www.tudorgirba.com "Presenting is storytelling." _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Thanks!
2011/9/28 Tudor Girba <[hidden email]> MooseModel root allModels. Santiago Vidal _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
In reply to this post by Tudor Girba-2
just curious, is it equivalent to:
MooseModel allInstances nicolas ----- Mail original ----- > De: "Tudor Girba" <[hidden email]> > À: "Moose-related development" <[hidden email]> > 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 > > [hidden email] > > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > > -- > www.tudorgirba.com > > "Presenting is storytelling." > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev _______________________________________________ Moose-dev mailing list [hidden email] 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 <[hidden email]> wrote: just curious, is it equivalent to: -- Andre Hora _______________________________________________ Moose-dev mailing list [hidden email] 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 <[hidden email]> wrote: I don't think so Nicolas. -- "Every thing has its own flow" _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |