Hi all, since I continue to be asked about this, I'll repost a summary of the info from the Oasis montaj forum (with a correction). Jeff Phillips' excellent suite of GXs are written with GX Developer and provide excellent examples. To install and use them in Oasis montaj versions 2022 and later: 1. Download the most recent…
Hi All. I am trying to write a custom coordinate conversion as n extension in Python. I am coming across an error where I get the current edb and lock it to create a db handle to read and write data in to the database. My code looks like this (for testing this error only). def rungx(): gxpy.utility.check_version("9.2") def…
Hey everyone! I am currently running Oasis Montaj 2025.2.1, and trying to run any python script (including the in built "Hello World" script"), using python 3.12 with Geosoft 2.0 package. When I run any code, I get the following error, no matter what I run (even if I restart the program): Any idea of potential fixes for…
Hi, I am currently trying to run a code in PyCharm to calculate intersections from survey lines and mark intersections as 1 or 0 based on a lower signal or higher altitude. My code runs fine when I've exported the csv manually through Oasis Montaj and detects all the intersections. However when I've tried to run the script…
Hello, I have a script which generates a pd channel with string data. When i try to make a new channel in the database it only allows byte or double. Is there a was to put string data e.g. dipole into the database via python GX? I am using Oasis montaj 2025.1
Hi, I am trying to load a csv into a new database that I have created but i seem to keep getting errors and the data won't load into the database file. I have all lines i want as a single CSV but I can't add it in. I was wondering if anyone could help with this or knows what is causing it not to write to the database. My…
Dear community. After upgrading to Geosoft 2024.2 I am getting this error when initiating a GX instance: GXException: GX services are not available. Unable to load C:\Program Files\Geosoft\Desktop Applications\bin\geodist.dll The error comes when running my python code from my IDE (Spyder) or Matlab but not when running…
Good day, I'm trying to compile C++ examples from here (https://github.com/GeosoftInc/gxcore/tree/v2024.2/examples/cpp) using MS Visual Studio. The compiler keeps throwing the following error: Probably, I'm doing something silly. If so, could anybody advise me on how I can solve this? As far as I remember, "default" is a…
Hi all, Does anybody know how to create a multidialog menu using Python GX developer? Can't find anything about it in the API Reference. By multidialog menu I mean something like this (see image 1) instead of that (see image 2). Any clues, references or words of encouragement are much appreciated.
Hello, I am looking for info of how to add support for importing / exporting Compressed Geosoft Grid Files into a third party C++ application. What are the code / repositories / libraries / docs / specs I should be looking at to provide support for importing / exporting these types of files (.grd)?
It looks like you're new here. Sign in or register to get started.