[gme-users] java interface

Brian Williams BrianW at isis.vanderbilt.edu
Fri Nov 17 10:21:19 CST 2006


Hi Karimi,

 

In your code snippet in your help.pdf, your JBuilderModel ob is still
null when you try to invoke the createNewAtom method. You should set ob
to refer to a valid GME Model before you can try to create your atom in
Java. You can use the parameters in invokeEx to get a Model. The builder
parameter has a method getProject where you can navigate from the root.
The focus parameter is your open Model when you run your intepreter, if
it's not null, you can cast that to a JBuilderModel. The selected
parameter will be any objects you have selected in GME when you run your
interpreter, you can look in there for a Model.

 

Hope this helps,

 

Brian

 

-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of seyamak
karimi
Sent: Thursday, November 16, 2006 11:52 PM
To: gme-users
Subject: [gme-users] java interface

 

Hello

please see my attach file and help me

best regards

 

  

  _____  

Sponsored Link

Mortgage rates near 39yr lows. $310,000 Mortgage for $999/mo - Calculate
new house payment
<http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9133-16415&moid=
4673> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20061117/40d9d432/attachment.htm


More information about the gme-users mailing list