[gme-users] setting up GME subtypes in an interpreter
Matthew J. Emerson
mjemerson at isis.vanderbilt.edu
Mon Feb 20 15:51:01 CST 2006
Thanks Zoli.
In the case where I only want to adjust a single element in this way, is
it possible to hand-edit the .xme form of the model? If so, can you
describe the necessary modification?
--Matt
_____
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Zoltan
Molnar
Sent: Monday, February 20, 2006 3:00 PM
To: gme-users
Subject: RE: [gme-users] setting up GME subtypes in an interpreter
Hi,
You can use AttachToArcheType [in Mga.Idl, defined as:
AttachToArcheType([in] IMgaFCO *newtype, [in] VARIANT_BOOL instance);]
which can make an element a subtype of another.
For example in a raw com interpreter you would just create a territory,
open a transaction, Attach an fco, then commit the transaction.
br, Zoli
-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Matthew
J. Emerson
Sent: Monday, February 20, 2006 2:50 PM
To: gme-users
Subject: [gme-users] setting up GME subtypes in an interpreter
Is it possible to use an interpreter to find two existing
elements in a model and make one into the subtype of another? Does
anyone have a code sample?
--Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20060220/9042c111/attachment.htm
More information about the gme-users
mailing list