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

Zoltan Molnar zolmol at isis.vanderbilt.edu
Mon Feb 20 16:03:45 CST 2006


IsBound indicates whether e.g. a reference inherits its target from the
base, or it has a separate target specified.
What kind of element will you attach in this way?
Zoli

-----Original Message-----
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:58 PM
To: gme-users
Subject: RE: [gme-users] setting up GME subtypes in an interpreter


You have to add the following xml attributes:
-derivedfrom
-isinstance
-isbound
-isprimary
 
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 3:51 PM
To: gme-users
Subject: RE: [gme-users] setting up GME subtypes in an interpreter



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


More information about the gme-users mailing list