python
Discussion List
-
GeoStudio API Documentation
I'm trying to learn how to develop Python Code to interact with GeoStudio. Is there any Python API documentation? I could only find videos, which do not cover what I need to do.
-
Python install in OM 2026.1.0.24
Hi All. I finally got round to updating Oasis to 2026.1.0.24 but my Python install has gone wrong. I pointed the thing to my previous python install using the locate python options but when verifying, I get the message below. Even at my age, I don't recall python version -1!! Could anyone point me in the right direction…
-
Unable to Modify Initial Piezometric Surface via GeoStudio Scripting API
Issues – Initial Piezometric Surface cannot be modified through the scripting API Our Transient Seepage analysis obtains its initial pore-water-pressure conditions from an Initial Piezometric Surface. Through extensive testing, it appears that this object cannot currently be modified through the scripting API. We tested…
-
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