[gme-users] setting up GME subtypes in an interpreter

Zoltan Molnar zolmol at isis.vanderbilt.edu
Mon Feb 20 15:00:21 CST 2006


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/fb1787c5/attachment.htm


More information about the gme-users mailing list