Calling Python script from within GX

Options
TimEadie
TimEadie Posts: 3 Calcite Rank Badge
edited May 2023 in Oasis montaj
Hello,

Does anyone know how I can calls a Python script to from within a Geosoft GX? Or if it is possible?

I have specific tools and functions I want to use from Python. There is not much information in the documentation regarding development using Python.

Thanks
Tagged:

Comments

  • IanMacLeod
    Options
    Tim,

    I have a Python GX which does the trick. It passes all the information on the open databases and maps via a JSON file to a Python script, which can then open them up and do what you want to do. On exiting the python script control is handed back to OM, which can then reopen things.

    Send me an e-mail at ian.macleod@geosoft.com and I'll send you the GX and an example. We will include this in the next release of GX Developer.
    Geosoft logo
This discussion has been closed.