-
CSV Processing vs Database Processing
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…
-
GX Developer - Creating a new string channel in python
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
-
GX Developer
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…
-
GeoStudio API (Python)
Hi everyone, I’m automating SLOPE/W runs via the GeoStudio Python API and I need to access the reinforcements so I can read and modify, line-by-line, the Tensile Capacity and Pullout Resistance.I’m struggling to find the correct object tree/collection for reinforcements in the API. What I want to do Iterate over the…
-
Geodist.dll error using python with the Geosoft 2024.2 installation
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…
-
Multidialog menu
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.
-
Thousand Simulations slope/w and seep/w
Hi, I have a levee model that uses slope/w and seep/w for transient analysis. I aim to employ this model in studying the response to 1000 different hydrographs (representing various hydraulic load conditions). While I have researched for information on this, my current understanding is the use of PEST for parameter…
-
Python initialization failed
Hi all, Trying to run Python scripts within OM, I constantly get the following error: It's strange since I can successfully verify Python and use geosoft Python library in any IDE outside OM. Regards, Artem