[gme-users] instance's type

Peter Volgyesi peter.volgyesi at vanderbilt.edu
Tue Aug 25 13:04:35 CDT 2009


Try this:

oo->getFCO()->getName()

--
peter



On Tue, Aug 25, 2009 at 10:13 AM, Peter
Volgyesi<peter.volgyesi at gmail.com> wrote:
> Hi,
>
> Do you need the meta "type" (kind) of the object or the archetype (if
> you are using the type/instance feature of GME) ?
> The first can be accessed by getFCOMeta (or more specialized methods
> for atoms, models, etc. by calling getXYMeta()).
> The second can be acquired by calling getType().
> Please, check the GME User Manual if you are not familiar with the
> "type/instance" feature.
> Regards,
>
> --
> peter
>
>
>
> On Tue, Aug 25, 2009 at 5:02 AM, Vijdan KIZILAY<vkizilay at gmail.com> wrote:
>> Hello,
>>
>> How can I take a type of a instance with BON2?
>>
>> I can take name, role, kind but I could not take the type of instance..
>> How can be the instance's type taken?
>>
>> I can get BON::Type but I can not get the name of type.
>>
>> Vijdan
>>
>> _______________________________________________
>> gme-users mailing list
>> gme-users at list.isis.vanderbilt.edu
>> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>>
>>
>


More information about the gme-users mailing list