Obtaining models

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Obtaining models

Santiago Vidal
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
Reply | Threaded
Open this post in threaded view
|

Re: Obtaining models

Tudor Girba-2
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
Reply | Threaded
Open this post in threaded view
|

Re: Obtaining models

Santiago Vidal
Thanks!

2011/9/28 Tudor Girba <[hidden email]>
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



--
Santiago Vidal

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Obtaining models

Nicolas Anquetil
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
Reply | Threaded
Open this post in threaded view
|

Re: Obtaining models

Andre Hora
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:

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



--
Andre Hora


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Obtaining models

Tudor Girba-2
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.
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:

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



--
Andre Hora


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--
--

"Every thing has its own flow"


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev