geosoft.gxpy.project

Geosoft desktop project interface, which provides access to an active and open Geosoft desktop project.

Classes:

Geosoft_project

the geosoft project

Constants:
DOC_TYPE_DATABASE:

DOC_TYPE_GRID:

DOC_TYPE_MAP:

DOC_TYPE_3DV:

DOC_TYPE_VOXEL:

DOC_TYPE_VOXI:

DOC_TYPE_GMS3D:

DOC_TYPE_GMS2D:

DOC_TYPE_GEOSUR:

DOC_TYPE_ALL:

Note

Test example: geosoft project tests

Functions

_t(s)

_user_input_gx(kind)

Resolve and run the user_input GX

add_document(doc[, type, display])

Add a document to the project.

get_user_input([title, prompt, kind, ...])

Display a dialog prompt on the Geosoft Desktop and wait for user input.

pause([title, cancel])

Display a pause dialog, wait for user to press continue or cancel

remove_document(doc)

Remove a document from the project.

running_script()

returns:

1 if running from a script, 0 if running interactively.

user_message(title, message)

Display a message to the user

Classes

Geosoft_project()

Use this class to interact with an open Geosoft project.

Exceptions

ProjectException(message)

Exceptions from geosoft.gxpy.project.