How to get the MooseModel of a FAMIXType

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

How to get the MooseModel of a FAMIXType

jfabry
Hi all,

I am a bit lost I'm afraid: I would like to know what the moose model is that contains a FAMIXType that I have been given. But I do not see how I can navigate from this type to the MooseModel that contains it. Can anybody give me the magic line of code for that?

Thanks in advance!


---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


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

Re: How to get the MooseModel of a FAMIXType

Andre Hora
Maybe I lost something in the question,

but "self mooseModel" would work, no?


On Tue, Sep 10, 2013 at 9:20 AM, Johan Fabry <[hidden email]> wrote:
Hi all,

I am a bit lost I'm afraid: I would like to know what the moose model is that contains a FAMIXType that I have been given. But I do not see how I can navigate from this type to the MooseModel that contains it. Can anybody give me the magic line of code for that?

Thanks in advance!


---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


_______________________________________________
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: How to get the MooseModel of a FAMIXType

Tudor Girba-2
Indeed, once an entity is in a MooseModel, you can ask "self mooseModel" from anywhere (including a group).

Cheers,
Doru



On Tue, Sep 10, 2013 at 4:08 PM, Andre Hora <[hidden email]> wrote:
Maybe I lost something in the question,

but "self mooseModel" would work, no?


On Tue, Sep 10, 2013 at 9:20 AM, Johan Fabry <[hidden email]> wrote:
Hi all,

I am a bit lost I'm afraid: I would like to know what the moose model is that contains a FAMIXType that I have been given. But I do not see how I can navigate from this type to the MooseModel that contains it. Can anybody give me the magic line of code for that?

Thanks in advance!


---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


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

Re: How to get the MooseModel of a FAMIXType

jfabry

Ah that was the magic message! I did not know that and I could not find it when browsing. Works like a charm, thanks!

On Sep 10, 2013, at 4:18 PM, Tudor Girba <[hidden email]> wrote:

> Indeed, once an entity is in a MooseModel, you can ask "self mooseModel" from anywhere (including a group).
>
> Cheers,
> Doru
>
>
>
> On Tue, Sep 10, 2013 at 4:08 PM, Andre Hora <[hidden email]> wrote:
> Maybe I lost something in the question,
>
> but "self mooseModel" would work, no?
>
>
> On Tue, Sep 10, 2013 at 9:20 AM, Johan Fabry <[hidden email]> wrote:
> Hi all,
>
> I am a bit lost I'm afraid: I would like to know what the moose model is that contains a FAMIXType that I have been given. But I do not see how I can navigate from this type to the MooseModel that contains it. Can anybody give me the magic line of code for that?
>
> Thanks in advance!
>
>
> ---> Save our in-boxes! http://emailcharter.org <---
>
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile
>
>
> _______________________________________________
> 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
>
>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev



---> Save our in-boxes! http://emailcharter.org <---

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD lab  -  Computer Science Department (DCC)  -  University of Chile


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