Yes I try it but it gives the instance's name that is RegisteredShipObject but I want the type of instance which is Ship.<br><br><span style="color: rgb(255, 0, 0);">RegisteredShipObject is the instance of Ship. </span> I want to get the "Ship" (type name). Is it possible?<br>
<br>best regards,<br>Vijdan<br><br><br><div class="gmail_quote">On Tue, Aug 25, 2009 at 9:04 PM, Peter Volgyesi <span dir="ltr"><<a href="mailto:peter.volgyesi@vanderbilt.edu">peter.volgyesi@vanderbilt.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Try this:<br>
<br>
oo->getFCO()->getName()<br>
<font color="#888888"><br>
--<br>
peter<br>
<br>
<br>
<br>
On Tue, Aug 25, 2009 at 10:13 AM, Peter<br>
</font><div class="im">Volgyesi<<a href="mailto:peter.volgyesi@gmail.com">peter.volgyesi@gmail.com</a>> wrote:<br>
</div><div><div></div><div class="h5">> Hi,<br>
><br>
> Do you need the meta "type" (kind) of the object or the archetype (if<br>
> you are using the type/instance feature of GME) ?<br>
> The first can be accessed by getFCOMeta (or more specialized methods<br>
> for atoms, models, etc. by calling getXYMeta()).<br>
> The second can be acquired by calling getType().<br>
> Please, check the GME User Manual if you are not familiar with the<br>
> "type/instance" feature.<br>
> Regards,<br>
><br>
> --<br>
> peter<br>
><br>
><br>
><br>
> On Tue, Aug 25, 2009 at 5:02 AM, Vijdan KIZILAY<<a href="mailto:vkizilay@gmail.com">vkizilay@gmail.com</a>> wrote:<br>
>> Hello,<br>
>><br>
>> How can I take a type of a instance with BON2?<br>
>><br>
>> I can take name, role, kind but I could not take the type of instance..<br>
>> How can be the instance's type taken?<br>
>><br>
>> I can get BON::Type but I can not get the name of type.<br>
>><br>
>> Vijdan<br>
>><br>
>> _______________________________________________<br>
>> gme-users mailing list<br>
>> <a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu</a><br>
>> <a href="http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users" target="_blank">http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users</a><br>
>><br>
>><br>
><br>
_______________________________________________<br>
gme-users mailing list<br>
<a href="mailto:gme-users@list.isis.vanderbilt.edu">gme-users@list.isis.vanderbilt.edu</a><br>
<a href="http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users" target="_blank">http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users</a><br>
</div></div></blockquote></div><br>