|
Tom,
Sorry for the late reply. I must admit, I did
overlok the loadchan.gx but i'm afraid it still doesn't siut my needs. What I
want to do is call loadchan.gx and load a channel, then call savegdb.gx, I
can use setstring_sys to set the parameter block from my custom gx, then close
the database without having to confirm to save the database. Under these
conditions, when I manually re-open the database, the channel that I
intended to load when running my custom gx is no longer loaded. The only way I
have got this to work the way I want it to is to run my custom gx without
closing the database, click the 'X' in the upper left corner of the database and
answer 'yes' to the prompt to save.
Here are a few ideas I have:
One idea that I have(and I haven't tried it yet so
I don't even know if it is possible) is to call an internal geosoft
command I found in montaj.smn file. Beside the menu item 'Save Database
Changes..' is ' the command '*ID_FILE_COMMIT' which I learned is an internal
geosoft command. My idea is to call this from my custom.gx. Can you tell me if
this is possible? I will still have to answer 'yes' to a prompt each time a
database is closed but and this won't be a complete solution to the problem but
at least it will be half the solution.
I also experimented with the iDispChanList_EDB()
command in GX developer. I found it returns numbers that when I experimented
with it were 173,174,175,.... Can you tell me how these numbers relate to
the names of the channels. I was wondering if there's a way to do the inverse of
this command; rather than the database giving me a list of the channels that are
displayed I was wondering if there's a way for me to give the database a list
of channels to display.
Aaron Balasch
Sky Hunter Technologies Inc. Suite 101, 1725 10th Avenue S.W. Calgary, Alberta T3C 0K1 Phone: (403)228-2175 Fax: (403)244-7955 email: [EMAIL PROTECTED]
|
- [geonet]: Importing Aaron Balasch
- Re: [geonet]: Importing Chris Vaughan
- [geonet]: Importing Aaron Balasch
- RE: [geonet]: Importing Tom Cuthbertson
- Aaron Balasch
