GXGUI class¶
- class GXGUI(handle=0)[source]¶
GXGUI class.
These are graphical functions that typically create a dialog-style window for a specific function. Examples include file import wizards, and the Histogram and Scatter tools.
- classmethod browse_dir(title, default, dir_path)[source]¶
Browses for a specific directory.
- Parameters:
title (str) – Title of the Form
default (str) – Default path (Can be “”)
dir_path (str_ref) – Result Path Buffer (default on input)
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- classmethod color_form(col, no_col)[source]¶
Select a color.
- Parameters:
col (int_ref) – Color (modified)
no_col (int) – Ask about
C_TRANSPARENT
if white is selected (1: yes, 0: no)?
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Color value is set on input, and new value returned. If the input color type is
C_TRANSPARENT
, then the color is set to white, if any other type is input the output is guaranteed to be of the same type.If
no_col
is 1, then on exit, if white is selected, the user is prompted: ‘Do you want white (Yes) or “None” (No) ?’ and the color is converted as requested. If this is not the case, theC_TRANSPARENT
is converted to white (if “Ok” is selected) and no choice is offered.
- classmethod color_transform(itr, st)[source]¶
Define an
GXITR
of up to 8 zones.- Parameters:
- Returns:
0 if OK 1 if user cancels
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: The statistics object is required in order to determine data ranges, percentiles, etc. Create it using
GXST.create_exact
, or be sure to enable histogram statistics.
- classmethod color_transform_ex(itr, st, zones, load_save, file)[source]¶
Define an
GXITR
of up to 12 zones, with file load/save buttons.- Parameters:
- Returns:
0 if OK 1 if user cancels
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: The statistics object is required in order to determine data ranges, percentiles, etc. Create it using
GXST.create_exact
, or be sure to enable histogram statistics. The color transform file name is used as the default when the save button is pushed, and is updated both after the load and save buttons are pushed by the value input or selected by the user.
- classmethod configure_connection(connect, temp, table)[source]¶
Configures connection string from ODBC database data.
- Parameters:
- Returns:
0 - OK -1 - Cancel
- Return type:
int
New in version 9.9.1.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note:
- classmethod coord_sys_wizard(ipj, editable, mode, source_label, source)[source]¶
Launch the coordinate system definition/display
GXGUI
.- Parameters:
editable (int) – Editable
GXIPJ
(0:No, 1:Yes)mode (int) – COORDSYS_MODE constants
source_label (str) – Data source label
source (str) – Data source
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Launches the new GX.Net single-dialog coordinate system definition dialog. The input
GXIPJ
is modified on return if OK is selected (and the editable parameter is 1). The “Data source label” and “Data source” is information displayed in the dialog for the user to know where theGXIPJ
came from (e.g. “Grid: X.grd”)
- classmethod coord_sys_wizard_grid(ipj, target_ipj, editable, mode, source_label, source, nx, ny, x0, y0, dx, dy, rot)[source]¶
Launch the coordinate system definition/display
GXGUI
.- Parameters:
target_ipj (GXIPJ) – Source (target) grid
GXIPJ
object. This is supplied so the modified orientation can be calculated and displayed.editable (int) – Editable
GXIPJ
(0:No, 1:Yes)mode (int) – COORDSYS_MODE constants
source_label (str) – Data source label
source (str) – Data source
nx (int) – Number of cells in X
ny (int) – Number of cells in Y
x0 (float_ref) – Grid orgin X (grid’s own coordinate system)
y0 (float_ref) – Grid orgin Y (grid’s own coordinate system)
dx (float_ref) – Grid cell size X
dy (float_ref) – Grid cell size Y
rot (float_ref) – Grid rotation angle (degrees CCW)
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 9.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Same as
coord_sys_wizard_licensed
but allows the original grid info to be adjusted when projections on section or oriented plan grids are modified. In the tool, it is the “modified” orientation required to keep the edited projection’s grid in the same location as it was in the target projection.
- classmethod coord_sys_wizard_licensed(ipj, editable, mode, source_label, source)[source]¶
Launch the coordinate system definition/display
GXGUI
.- Parameters:
editable (int) – Editable
GXIPJ
(0:No, 1:Yes)mode (int) – COORDSYS_MODE constants
source_label (str) – Data source label
source (str) – Data source
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: Same as
coord_sys_wizard_licensed
but will always be editable. The other method is not editable in the viewer while this one is.
- classmethod create_wnd_from_hwnd(p1)[source]¶
Create a standard WND object from an HWND.
- Parameters:
p1 (int) – HWND Handle
- Returns:
x - WND object created
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: The object returned must be destroyed by the destroy object call.
- classmethod cumulative_percent(file, itr)[source]¶
Define a percent-based
GXITR
of up to 12 zones.- Parameters:
- Returns:
0 if OK 1 if user cancels
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: The
GXITR
values are interpreted as cumulative percent values, using the “PERCENT=1” value in theGXITR
’sGXREG
.Note that processes using ITRs do not automatically know to convert between percent values and “actual” data values. The
GXREG
“PERCENT” value is simply a flag to indicate to a user that the values are intended to be in the range from 0 < x < 100. TheGXITR
should not, therefore, be applied directly to data unless that data is already given in percent.If the file name is defined on input, the initial
GXITR
will be loaded from it. If it is left blank, a default 5-color transform with The color transform file name is used as the default when the save button is pushed, and is updated both after the load and save buttons are pushed by the value input or selected by the user.
- classmethod custom_file_form(title, filter, default, file_path, type, multi)[source]¶
General file Open/Save Form for Multiple/Single file selections and custom filter capability
- Parameters:
title (str) – Title of the Form
filter (str) – Custom filter.
default (str) – Default value
file_path (str_ref) – Where the file name(s) is returned
type (int) – FILE_FORM constants
multi (int) – Allow Multiple file selections = TRUE Single file selections = FALSE
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 9.3.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Remember to make the string size big enough for multiple file selections. In the case of multiple selections the names will be separated by a semicolon and only the first file will contain the full path.
- classmethod dat_file_form(title, default, psz_file_path, type, validation_type, multi)[source]¶
Grid and Image file Open/Save Form for Multiple/Single file selections
- Parameters:
title (str) – Title of the Form
default (str) – Default value
psz_file_path (str_ref) – Where the file name(s) is returned
type (int) – DAT_TYPE constants
validation_type (int) – FILE_FORM constants
multi (int) – Allow Multiple file selections = TRUE Single file selections = FALSE
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Remember to make the string size big enough for multiple file selections. In the case of multiple selections the names will be separated by a semicolon and only the first file will contain the full path.
When using the multiple flag on any of these functions please be aware that the string returned will be in the format: drive:path1path2name.grid|name2.grid|name3.grid(QUALIFIERS) All grids are required to be of the same type.
- classmethod dat_file_form_ex(title, default, psz_file_path, type, validation_type, multi, sort)[source]¶
Grid and Image file Open/Save Form for Multiple/Single file selections and optional filter list sorting.
- Parameters:
title (str) – Title of the Form
default (str) – Default value
psz_file_path (str_ref) – Where the file name(s) is returned
type (int) – DAT_TYPE constants
validation_type (int) – FILE_FORM constants
multi (int) – Allow Multiple file selections = TRUE Single file selections = FALSE
sort (int) – Sort file filter list = TRUE Maintain default filter list sorting = FALSE
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 9.9.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Remember to make the string size big enough for multiple file selections. In the case of multiple selections the names will be separated by a semicolon and only the first file will contain the full path.
When using the multiple flag on any of these functions please be aware that the string returned will be in the format: drive:path1path2name.grid|name2.grid|name3.grid(QUALIFIERS) All grids are required to be of the same type.
- classmethod database_type(name, type)[source]¶
Returns the type string of an external DAO database.
- Parameters:
name (str) – File Name
type (str_ref) – Database type (returned)
- Returns:
0 - OK -1 - Cancel terminates on error
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: If the file extension is “mdb”, then an MSJET (Microsoft Access) database is assumed. If the file name is “ODBC”, then “ODBC” is returned as the type. Otherwise, a dialog appears listing the other valid DAO database types.
- classmethod datamine_type(file, type)[source]¶
Returns the type of a Datamine file.
- Parameters:
file (str) – File Name (for display purposes only)
- Returns:
0 - OK -1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: Often, a Datamine file can be opened a number of different ways (e.g. as a string file or a as wireframe (point) file. The following function checks to see if there is a choice to be made between types supported by Geosoft for import. If not, it just returns the original type “hint” from Datamine. If there is a choice, it puts up a dialog with the choices for the user to pick from. Do a bit-wise AND with the returned type to determine the file type (or the type selected).
Currently supported overlapping types/choices:
dmString dmWireframePoint
- classmethod export_xyz_template_editor(db, templ, size)[source]¶
Allows the user to edit XYZ export template using a complex dialog. The Template name may change during editing.
- Parameters:
db (GXDB) – Database
templ (str) – Name of the Template (can change)
size (int) – Size of the Template
- Returns:
0 - OK 1 - Error
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: Only uses the current
GXDB
. This function does not exactly work as supposed to. Instead of using theGXEDB
handle passed to it, it only will use the currentGXDB
. Please see ExportXYXTemplateEditorEx_GUI for an updated function.
- classmethod export_xyz_template_editor_ex(edb, templ)[source]¶
Allows the user to edit an XYZ export template using a complex dialog. The template name may change during editing.
- Parameters:
- Returns:
0 - OK 1 - Error
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod fft2_spec_filter(spec_file_name, con_file_name)[source]¶
Interactive
GXFFT2
radially averaged power spectrum filter- Parameters:
spec_file_name (str) – Name of the input spectrum file
con_file_name (str) – Name of the output control file
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod file_filter_index(filter)[source]¶
Return the FILE_FILTER_XXX value for a file filter string.
- Parameters:
filter (str) – Input filter string
- Returns:
FILE_FILTER constants, -1 if not found
- Return type:
int
New in version 7.0.
License: Geosoft Open License
Note: For example, if “Database (
*.gdb
)” is input, then theFILE_FILTER_GDB
value is returned.
- classmethod gcs_datum_warning_shp(data_source, ipj)[source]¶
Launch the GCS Datum Warning dialog for
GXSHP
files.- Parameters:
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 7.1.
License: Geosoft Open License
Note: Runs the GCS Warning dialog with one data source
- classmethod gcs_datum_warning_shp_ex(source_lst, datum_from_lst, ldtlst, mview)[source]¶
Launch the GCS Datum Warning dialog for
GXSHP
files.- Parameters:
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 7.1.
License: Geosoft Open License
Note: Runs the GCS Warning dialog with multiple data sources
- classmethod gcs_datum_warning_shpdb_ex(source_lst, datum_from_lst, ldtlst, db)[source]¶
Launch the GCS Datum Warning dialog for
GXSHP
files (Database).- Parameters:
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 7.1.
License: Geosoft Open License
Note: Runs the GCS Warning dialog with multiple data sources (Database)
- classmethod gen_file_form(title, filt_vv, filter, default, file_path, type, multi)[source]¶
General file Open/Save Form for Multiple/Single file selections and multiple filter capability
- Parameters:
title (str) – Title of the Form
filt_vv (GXVV) – INT
GXVV
of file filters to use FILE_FILTER constants The first one is default, can pass (GXVV
) 0 for to use next parameter.filter (int) – FILE_FILTER constants (ignored if parameter above is not zero)
default (str) – Default value
file_path (str_ref) – Where the file name(s) is returned
type (int) – FILE_FORM constants
multi (int) – Allow Multiple file selections = TRUE Single file selections = FALSE
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Remember to make the string size big enough for multiple file selections. In the case of multiple selections the names will be separated by a semicolon and only the first file will contain the full path.
Defined Functions The following four functions are handy defines and simply pass the appropriate parameter.
iFileOpen_GUI iFileSave_GUI iMultiFileOpen_GUI iMultiFileSave_GUI
- classmethod get_area_of_interest(min_x, min_y, max_x, max_y, ply, ipj)[source]¶
Get the current area of interest from the application.
- Parameters:
- Returns:
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Depending on what is currently visible on screen and the defined coordinate system the user may be prompted by a warning and optionaly cancel the process.
- classmethod get_area_of_interest_3d(min_x, min_y, min_z, max_x, max_y, max_z, ply, ipj)[source]¶
Get the current area of interest from the application in 3D.
- Parameters:
- Returns:
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Depending on what is currently visible on screen and the defined coordinate system the user may be prompted by a warning and optionaly cancel the process.
- classmethod get_client_window_area(min_x, min_y, max_x, max_y)[source]¶
Get the location of the Oasis montaj client window.
- Parameters:
New in version 9.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: Returns the coordinates of the client window area (where MDI document windows are placed). The returned coordinates are 0,0 for the minimum X and Y and the window width width and height for the maximum X and Y.
- classmethod get_dat_defaults(flags, open, ext, qual)[source]¶
Return the user default extension and qualifier for grids/images.
- Parameters:
flags (int) – DAT_TYPE constants
open (int) – FILE_FORM constants
ext (str_ref) – Returned default extension (e.g. “grd”)
qual (str_ref) – Returned default qualifier (e.g. “GRD”)
New in version 7.0.
License: Geosoft Open License
Note: The default grid/image filters are normally stored in “MONTAJ.DEFAULT_XGD_IN” and “MONTAJ.DEFAULT_XGD_OUT”
If no filter is defined, or the filter is not found then “grd” and “GRD” are returned as the default extension and qualifier.
- classmethod get_file_filter(file_filter, filter, mask, ext, path)[source]¶
Return the defined filter, mask, extension and directory for an input filter.
- Parameters:
file_filter (int) – FILE_FILTER constants
filter (str_ref) – Returned file filter string
mask (str_ref) – Returned file mask string
ext (str_ref) – Returned file extension
path (int_ref) – GS_DIRECTORY constants Returned directory.
New in version 7.0.
License: Geosoft Open License
Note: Returns the four parts of the file filter; e.g. for
FILE_FILTER_GDB
it returns:Filter: “Database (
*.gdb
)” Mask: “*.gdb
” Extension: “gdb” Directory: “GS_DIRECTORY_NONE
”This function is useful for constuction open/save dialog file filters, especially in GX.Net functions.
- classmethod get_gs_directory(path, dir)[source]¶
Return the directory path for value of GS_DIRECTORY constants.
- Parameters:
path (int) – GS_DIRECTORY constants Returned directory.
dir (str_ref) – Returned directory path
New in version 7.0.
License: Geosoft Open License
Note: Works along with the
get_file_filter
function. Note that most values of FILE_FILTER_XXX will returnGS_DIRECTORY_NONE
, and give the current workspace directory.This function is useful for constuction open/save dialog file filters, especially in GX.Net functions.
- classmethod get_parent_wnd()[source]¶
Get the current parent window
- Returns:
Parent window.
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- classmethod get_printer_lst(lst)[source]¶
Gets a list of all printers.
- Parameters:
lst (GXLST) – List to place into
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod get_window_position(left, top, right, bottom, state)[source]¶
Get the Oasis montaj window’s position state
- Parameters:
New in version 9.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- classmethod get_window_state()[source]¶
Retrieve the current state of the Oasis montaj window
- Returns:
- Return type:
int
New in version 9.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- classmethod grid_stat_hist(grid_name)[source]¶
Display Histogram of grid
- Parameters:
grid_name (str) – Name of the grid to get stats from
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod grid_stat_hist5(grid_name_1, grid_name_2, grid_name_3, grid_name_4, grid_name_5)[source]¶
Display Histogram of up to 5 different grids
- Parameters:
grid_name_1 (str) – Name of the first grid to get stats from (required)
grid_name_2 (str) – Optional name of the second grid to get stats from
grid_name_3 (str) – Optional name of the third grid to get stats from
grid_name_4 (str) – Optional name of the fourth grid to get stats from
grid_name_5 (str) – Optional name of the fifth grid to get stats from
New in version 2021.2.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod import_ascii_wizard(name, temp)[source]¶
Generate a template file from a gui.
- Parameters:
name (str) – Data file name
temp (str) – Template to make
- Returns:
0 - OK 1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod import_chem_database(name, temp, table, type)[source]¶
Generate a template file for importing Geochems Database.
- Parameters:
name (str) – Data file name
temp (str) – Template to make
table (str_ref) – Name of table
type (int) – IMPCH_TYPE constants
- Returns:
0 - OK -1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod import_chem_database_ado(connect, temp, table, type)[source]¶
Improved template creation for importing geochem database (ADO).
- Parameters:
connect (str) – External database connection string (Blank for OLEDB Wizard)
temp (str) – Template to make
table (str_ref) – Name of table
type (int) – IMPCH_TYPE constants
- Returns:
0 - OK -1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: This is an improved version of ImportChemDatabase_GUI using the new ADO technology, as opposed to DAO. Use in conjuction with
GXDU.import_ado
. See also ImportDatabaseADO_GUI.
- classmethod import_chem_wizard(name, temp, type)[source]¶
Generate a template file for importing geochems.
- Parameters:
name (str) – Data file name
temp (str) – Template to make
type (int) – IMPCH_TYPE constants
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod import_database(name, temp, table)[source]¶
Create template to import an external database table.
- Parameters:
name (str) – External database file name
temp (str) – Template to make
table (str_ref) – Name of table imported (returned)
- Returns:
0 - OK -1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: This is used to select a single database table, and selected fields from that table. If the database is not Microsoft Access (type .mdb), an introductory dialog requests the file type. This function DOES NOT import the table itself, but creates an import template which may be used to import the table (see
GXDU.import_dao
).
- classmethod import_database_ado(connect, temp, table)[source]¶
Create template to import an external database table (ADO Version).
- Parameters:
connect (str) – External database connection string (Blank for OLEDB Wizard)
temp (str) – Template to make
table (str_ref) – Name of table imported (returned)
- Returns:
0 - OK -1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- Note: 1. This is used to select a single database table, and
selected fields from that table.
This function DOES NOT import the table itself, but creates an import template which may be used to import the table (see
GXDU.import_ado
).If connection string is of type “FILENAME=…” the connection will attempt to resolve it as a file database. (see also ODBCFileConnect_GUI)
- classmethod import_database_sql(name, sql, temp, line)[source]¶
Create template to import an external database table, created using SQL.
- Parameters:
name (str) – External database file name
sql (str) – Text file with SQL queries to use, (”” - get from database)
temp (str) – Import template to make
line (str_ref) – Name of table imported (returned)
- Returns:
0 - OK -1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- Note: 1. This is used to build an Oasis montaj group (line) from
one or more database tables and fields, by selecting from one or more SQL selection queries. The list of queries is read from a text file with the following syntax:
Query_Name_1 Query… Query… (continued) … … END_QUERY Query_Name_2 etc.
Each query has a title line, the query itself, then the “END_QUERY” line to finish. The title of a subsequent query is on the line after an “END_QUERY” line.
If the text file parameter is left blank (“”), then selection queries in the database itself are listed. In addition to the pre-defined queries, there is a “User Defined” query which may be filled in by the user.
This function DOES NOT import the table itself, but creates an import template which may be used to import the data (see
GXDU.import_dao
).If connection string is of type “FILENAME=…” the connection will attempt to resolve it as a file database. (see also ODBCFileConnect_GUI)
- classmethod import_database_sqlado(connect, sql, temp, line)[source]¶
Create template to import an external database table, created using SQL (New ADO Version).
- Parameters:
connect (str) – External database connection string (Blank for OLEDB Wizard)
sql (str) – Text file with SQL queries to use, (”” - get from database)
temp (str) – Import template to make
line (str_ref) – Name of table imported (returned)
- Returns:
0 - OK -1 Cancel
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: This is used to build an Oasis montaj group (line) from one or more database tables and fields, by selecting from one or more SQL selection queries. The list of queries is read from a text file with the following syntax:
Query_Name_1 Query… Query… (continued) … … END_QUERY Query_Name_2 etc.
Each query has a title line, the query itself, then the “END_QUERY” line to finish. The title of a subsequent query is on the line after an “END_QUERY” line.
If the text file parameter is left blank (“”), then selection queries in the database itself are listed. In addition to the pre-defined queries, there is a “User Defined” query which may be filled in by the user.
This function DOES NOT import the table itself, but creates an import template which may be used to import the data (see
GXDU.import_dao
).
- classmethod import_drill_database_ado(connect, temp, table, type, reg)[source]¶
Generate a template file for importing drill holes.
- Parameters:
connect (str) – External database connection string (Blank for OLEDB Wizard)
temp (str) – Template to make
table (str_ref) – Name of table
type (int_ref) – Type of import returned DH_DATA constants
- Returns:
0 - OK -1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: This is an improved version of ImportDrillDatabase_GUI using the new ADO technology, as opposed to DAO. Use in conjunction with
GXDU.import_ado
. See also ImportDatabaseADO_GUI.
- classmethod import_drill_database_ado2(connect, temp, table, type, reg)[source]¶
Same as
import_drill_database_ado
, but template name is returned.- Parameters:
connect (str) – External database connection string (Blank for OLEDB Wizard)
temp (str_ref) – Template to make (if left blank, the created template name is returned)
table (str_ref) – Name of table
type (int_ref) – Type of import returned DH_DATA constants
- Returns:
0 - OK -1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: If it is not defined on input, the template name is set to be the Wholeplot table name; e.g. “HOLESURVEY.i4” for “Project_HOLESURVEY”
- classmethod import_drill_database_esri(connect, temp, table, type, geochem, reg)[source]¶
Same as iImportDrillDatabaseADO2_GUI, but from an ArcGIS Geodatabase
- Parameters:
connect (str) – External database connection string (e.g. “d:Personaltest.mdb|Table” or “d:Filetest.gdb|TableX|FeatureClassY)”
temp (str_ref) – Template to make (if left blank, the created template name is returned)
table (str_ref) – Name of table
type (int_ref) – Type of import returned DH_DATA constants
geochem (bool) – Geosoft Geochemistry Database?
- Returns:
0 - OK -1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: If it is not defined on input, the template name is set to be the Wholeplot table name; e.g. “HOLESURVEY.i4” for “Project_HOLESURVEY”
- classmethod import_drill_database_odbc(connect, temp, table, type, reg)[source]¶
Generate a template file for importing drill holes from ODBC database data.
- Parameters:
- Returns:
0 - OK -1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: If the input connection string is empty (“”), then the ODBC connection dialogs will appear (e.g. to connect to a machine database) before the import wizard is run. The connect string used for this connection is then returned. This string can then be used on input to skip the ODBC connection dialogs and go straight to the Wholeplot import wizard. Because the name of the database is not necessarily known, the template name is created from the name of the table opened - e.g. “HOLELOCATION.i4”.
- classmethod import_drill_database_odbc_maxwell(connect, temp, table, type, reg)[source]¶
Same as
import_drill_database_odbc
but customized for Maxwell.- Parameters:
- Returns:
0-OK 1-Cancel
- Return type:
int
New in version 8.3.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: Same as
import_drill_database_odbc
but customized for Maxwell.
- classmethod import_drill_wizard(name, temp, table, type, reg)[source]¶
Generate a template file for importing drill holes.
- Parameters:
name (str) – Data file name
temp (str) – Template to make
table (str_ref) – Name of table
type (int_ref) – Type of import returned DH_DATA constants
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod import_drill_wizard_ex(name, temp, table, type, reg)[source]¶
Generate a template file for importing drill holes where type is known
- Parameters:
name (str) – Data file name
temp (str) – Template to make
table (str_ref) – Name of table
type (int) – Type of import DH_DATA constants
New in version 9.5.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod import_template_sql(name, temp, sql, line)[source]¶
Create template to import an external database table; provide query.
- Parameters:
name (str) – External database file name
temp (str) – Import template to make
sql (str) – SQL selection query to run on database
line (str) – Name of Oasis table to create
- Returns:
0 - OK -1 Cancel terminates on error
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: This is similar to
import_database_sql
, but dispenses with the dialog offering a selection of queries. Instead, the user supplies the query as a string.This function DOES NOT import the table itself, but creates an import template which may be used to import the data (see
GXDU.import_dao
).
- classmethod import_template_sqlado(name, temp, sql, line)[source]¶
Create template to import an external database table; provide query.
- Parameters:
name (str) – External database connection string (Blank for OLEDB Wizard)
temp (str) – Import template to make
sql (str) – SQL selection query to run on database
line (str) – Name of Oasis table to create
- Returns:
0 - OK -1 - Cancel terminates on error
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: This is similar to
import_database_sql
, but dispenses with the dialog offering a selection of queries. Instead, the user supplies the query as a string.This function DOES NOT import the table itself, but creates an import template which may be used to import the data (see
GXDU.import_ado
).
- classmethod import_xyz_template_editor(db, templ, file)[source]¶
Allows the user to edit XYZ import templates using a complex dialog. The Template name may change during editing.
- Parameters:
- Returns:
0 - OK 1 - Error
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod internet_trust()[source]¶
Change the Internet Trust Relationships
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- is_null()[source]¶
Check if this is a null (undefined) instance
- Returns:
True if this is a null (undefined) instance, False otherwise.
- Return type:
bool
- classmethod launch_geo_dotnetx_tool(dll, func, meta)[source]¶
Launch a user created .Net GEOXTOOL.
- Parameters:
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- classmethod launch_geo_dotnetx_tool_ex(dll, func, meta, align, dock, width, height)[source]¶
Launch a user created .Net GEOXTOOL.
- Parameters:
dll (str) – Assembly name
func (str) – Control Class Name
meta (GXMETA) –
GXMETA
Handle (holding tool configuration data)align (int) – XTOOL_ALIGN constants (can specify one or more or
XTOOL_ALIGN_ANY
)dock (int) – XTOOL_DOCK constants
width (int) – Default width
height (int) – Default height
New in version 9.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- classmethod launch_geo_x_tool(dll, func, meta)[source]¶
Launch a user created GEOXTOOL.
- Parameters:
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- classmethod launch_geo_x_tool_ex(dll, func, meta, align, dock, width, height)[source]¶
Launch a user created GEOXTOOL.
- Parameters:
dll (str) – DLL name
func (str) – Function Name
meta (GXMETA) –
GXMETA
Handle (holding tool configuration data)align (int) – XTOOL_ALIGN constants (can specify one or more or
XTOOL_ALIGN_ANY
)dock (int) – XTOOL_DOCK constants
width (int) – Default width
height (int) – Default height
New in version 9.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- classmethod launch_single_geo_dotnetx_tool(dll, func, meta)[source]¶
Launch a user created .Net GEOXTOOL ensuring a single instance.
- Parameters:
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- classmethod launch_single_geo_dotnetx_tool_ex(dll, func, meta, align, dock, width, height)[source]¶
Launch a user created .Net GEOXTOOL ensuring a single instance.
- Parameters:
dll (str) – Assembly name
func (str) – Control Class Name
meta (GXMETA) –
GXMETA
Handle (holding tool configuration data)align (int) – XTOOL_ALIGN constants (can specify one or more or
XTOOL_ALIGN_ANY
)dock (int) – XTOOL_DOCK constants
width (int) – Default width
height (int) – Default height
New in version 9.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- classmethod line_pattern_form(pattern, thickness, pitch, colour)[source]¶
Select a line pattern.
- Parameters:
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 8.1.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Same as
pattern_form
but for line patterns.
- classmethod meta_data_tool(meta, root_token, schema)[source]¶
Edit a
GXMETA
object- Parameters:
meta (GXMETA) – Meta object
root_token (int) – Root Token,
H_META_INVALID_TOKEN
for rootschema (int) – Display schema information ?
- Returns:
0 - OK non-zero - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod meta_data_viewer(meta, root_token, schema)[source]¶
View a
GXMETA
object- Parameters:
meta (GXMETA) – Meta object
root_token (int) – Root token,
H_META_INVALID_TOKEN
for rootschema (int) – Display schema information ?
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- classmethod odbc_file_connect(file, connect, usage, table)[source]¶
Get the connection string for a file database as well as optional table name and FileUsage attribute
- Parameters:
- Returns:
0 - OK -1 - Cancel terminates on error
- Return type:
int
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: If the file extension is “mdb” or “xls” then a Microsoft Access or Excel database is assumed. Otherwise, a dialog appears listing the installed ODBC file database drivers. If the driver takes a directory as a database (FileUsage==1) the table name is also returned. This is needed because the table name may or may not include the file extension.
- classmethod pattern_form(pat, size, thick, dense, col, back_col)[source]¶
Select a pattern.
- Parameters:
pat (int_ref) – Current Pattern
size (float_ref) – Current Size, // returned
thick (int_ref) – Current Thick (0-100) // returned
dense (float_ref) – Current Density, // returned
col (int_ref) – Current Pattern Color // passed in and returned
back_col (int_ref) – Current Background Color // passed in and returned; can be
C_TRANSPARENT
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Pattern values set on input, and new values returned. Solid fill is indicated by Pattern number 0.
Returned Values (not set on input)
- Size
pattern tile size in mm.
- Thick
pattern line thickness in percent of the tile size. valid range is 0-100.
- Density
Tile spacing. A value of 1 means tiles are laid with no overlap. A value of 2 means they overlap each other.
The pattern Angle and Style parameters are not user-definable.
- classmethod print_file(file)[source]¶
Prints a file to current printer
- Parameters:
file (str) – Filename string
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod render_line_pattern(hdc, left, bottom, right, top, pattern, thickness, pitch, col, is_enabled, is_button, is_selected)[source]¶
Render a line pattern.
- Parameters:
hdc (int) – DC Handle
left (int) – Left value of the render rect in Windows coordinates (bottom>top)
bottom (int) – Bottom value
right (int) – Right value
top (int) – Top value
pattern (int) – Pattern number
thickness (float) – Pattern thickness
pitch (float) – Pattern pitch
col (int) – Pattern color
is_enabled (int) – Is this window enabled?
is_button (int) – Is this a button?
is_selected (int) – Is this window selected?
New in version 8.1.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Same as
render_pattern
but for line patterns.
- classmethod render_pattern(hdc, left, bottom, right, top, pat, size, thick, dense, col, back_col, is_enabled, is_button, is_selected)[source]¶
Render a pattern.
- Parameters:
hdc (int) – DC handle
left (int) – Left value of the render rect in Windows coordinates (bottom>top)
bottom (int) – Bottom value
right (int) – Right value
top (int) – Top value
pat (int) – Pattern number
size (float) – Pattern size, // input
GS_R8DM
to use defaultthick (int) – Pattern thick (0-100) // input
GS_S4DM
to use defaultdense (float) – Pattern density, // input
GS_R8DM
to use defaultcol (int) – Pattern color // input
GS_S4DM
to use defaultback_col (int) – Pattern background color // input
GS_S4DM
to use default; can beC_TRANSPARENT
is_enabled (int) – Is this window enabled?
is_button (int) – Is this a button?
is_selected (int) – Is this window selected?
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Renders a Geosoft pattern to a Windows DC.
- classmethod set_parent_wnd(wnd)[source]¶
Set the current parent WND
- Parameters:
wnd (int) – New Parent Window
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: The parent WND is used by all modal dialogs as a parent to ensure the dialog is correctly modal.
- classmethod set_printer(printer)[source]¶
Sets the Printer.
- Parameters:
printer (str) – Printer Name
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod set_prog_always_on(on)[source]¶
Ability to set the progress bar to stay visible even if main application is processing messages
- Parameters:
on (bool) – Should progress bar remain visible
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: In montaj the progress bar is hidden when the main window start processing messages. This is not always desirable in some 3rd party apps, hence this function.
- classmethod set_window_position(left, top, right, bottom, state)[source]¶
Get the Oasis montaj window’s position and state
- Parameters:
left (int) – Window left position
top (int) – Window top position
right (int) – Window right position
bottom (int) – Window bottom position
state (int) – Window state WINDOW_STATE constants
New in version 9.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- classmethod set_window_state(state)[source]¶
Changes the state of the Oasis montaj window
- Parameters:
state (int) – WINDOW_STATE constants
New in version 9.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
- classmethod show_3d_viewer_dialog(title, o3dv)[source]¶
Display a standalone 3D viewer
- Parameters:
title (str) – Title
o3dv (str) – 3D View name (.geosoft_3dv)
New in version 9.3.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
Note: Any changes made to the 3D View will be persisted.
- classmethod show_direct_hist(min, max, mean, std_dev, median, items, vv)[source]¶
Display histogram of data directly
- Parameters:
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod show_hist(st)[source]¶
Display Histogram of data from
GXST
- Parameters:
st (GXST) – Statistics obj
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
- classmethod simple_map_dialog(map, title, help_id)[source]¶
General purpose map display
GXGUI
with no interaction.New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: This function displays a map in a simple resizable dialog that fits the map into it. It is generally useful to display temporary maps as graphs (e.g. variograms).
- classmethod symbol_form(symb_font, geo_font, weight, symb_num, symb_size, symb_ang, edge_col, fill_col)[source]¶
Select a symbol.
- Parameters:
symb_font (str_ref) – Symbol font file name
geo_font (bool_ref) – Geosoft font?
weight (int_ref) – Weight MVIEW_FONT_WEIGHT constants
symb_num (int_ref) – Symbol number
symb_size (float_ref) – Symbol size
symb_ang (float_ref) – Symbol angle
edge_col (int_ref) – Edge color
fill_col (int_ref) – Fill color
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Symbols are set on input, and new values returned.
- classmethod thematic_voxel_info(vox)[source]¶
Display GX.Net thematic voxel info
GXGUI
.New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Displays the thematic voxel codes, colors, total volume for each code, and number of valid items (cubes) for each code. This is a replacement for the numeric stats done on normal numerical voxel grids.
- classmethod two_panel_selection(ls_tf, ls_ts, title)[source]¶
General purpose two-panel selection.
- Parameters:
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Takes as input two LSTs, one contains all available items, the second currently selected items. These are processed, and in the left panel are displayed all items in the first
GXLST
not in the selectionGXLST
, and on the right all items in the firstGXLST
which are in the selectionGXLST
. (Items in the selectionGXLST
NOT in the firstGXLST
are ignored). Once the user has finalized the selections, the final selections are returned in the selectionGXLST
.Selections and display are based on the
LST_ITEM_NAME
part of theGXLST
item, but on export both theLST_ITEM_NAME
andLST_ITEM_VALUE
elements of the selected items from the firstGXLST
are transferred to the second list for output.The sConvertToCSV_LST and sConvertFromCSV_LST functions in lst.h can be used to convert the selection LSTs to forms that can be stored and retrieved from GX parameters (or
GXREG
or INI, etc.).
- classmethod two_panel_selection2(ls_tf, ls_ts, title)[source]¶
Two-panel selection, items not sorted alphabetically.
- Parameters:
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Same as
two_panel_selection
, but the items in the two lists are not sorted alphabetically, but are ordered exactly as input, and when an item is selected it is added at the end of the lists.
- classmethod two_panel_selection_ex(ls_tf, ls_ts, sorted, allow_no_select, title)[source]¶
Two-panel selection; options for sort and ability to select no items.
- Parameters:
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Same as
two_panel_selection
, but the items in the two lists are not sorted alphabetically, but are ordered exactly as input, and when an item is selected it is added at the end of the lists.
- classmethod two_panel_selection_ex2(ls_tf, ls_ts, sorted, allow_no_select, title, help)[source]¶
Two-panel selection; extended options including a help link.
- Parameters:
- Returns:
0 - Ok 1 - Cancel
- Return type:
int
New in version 5.0.
License: Geosoft Open License
Limitations: May not be available while executing a command line program.
Note: Same as
two_panel_selection_ex
, but user can specify a help link.
- classmethod voxel_stat_hist(vox_name)[source]¶
Display Histogram of Voxel
- Parameters:
vox_name (str) – Name of the Voxel to get stats from
New in version 5.0.
License: Geosoft End-User License
Limitations: May not be available while executing a command line program.
AOI_RETURN_STATE constants¶
AOI query return state
COORDSYS_MODE constants¶
Coordinate system wizard GXIPJ
types allowed on return.
The wizard present three types of projections for selection
by the user, Geographic (GCS), Projected (PCS), and Unknown.
(Unknown requires only that the units be defined.)
The Editable flag must be Yes for this option to take affect,
and is overridden internally if the user’s license does not
allow modification of projections (e.g. the OM Viewer).
- COORDSYS_MODE_ALL¶
Allow Geographic (GCS), Projected (PCS), and Unknown
- gxapi.COORDSYS_MODE_ALL = 0¶
DAT_TYPE constants¶
Type of files (grids, images) to support
FILE_FILTER constants¶
File filters
- FILE_FILTER_GEOSOFT_LICENSE¶
Geosoft License files
*.geosoft_license
LOCAL- gxapi.FILE_FILTER_GEOSOFT_LICENSE = 42¶
- FILE_FILTER_MAPTEMPLATE¶
Map Template file
*.geosoft_maptemplate
LOCAL- gxapi.FILE_FILTER_MAPTEMPLATE = 55¶
- FILE_FILTER_TARGET_PLAN¶
Target parameter ini file for plans
*.inp
LOCAL- gxapi.FILE_FILTER_TARGET_PLAN = 60¶
- FILE_FILTER_TARGET_SECTION¶
Target parameter ini file for sections
*.ins
LOCAL- gxapi.FILE_FILTER_TARGET_SECTION = 61¶
- FILE_FILTER_TARGET_STRIPLOG¶
Target parameter ini file for strip logs
*.inl
LOCAL- gxapi.FILE_FILTER_TARGET_STRIPLOG = 62¶
- FILE_FILTER_TARGET_3D¶
Target parameter ini file for 3D plots
*.in3
LOCAL- gxapi.FILE_FILTER_TARGET_3D = 63¶
- FILE_FILTER_TARGET_FENCE¶
Target parameter ini file for fence sections
*.ins
LOCAL- gxapi.FILE_FILTER_TARGET_FENCE = 69¶
- FILE_FILTER_INTERSECTION_TBL¶
Levelling intersection
*.tbl
LOCAL- gxapi.FILE_FILTER_INTERSECTION_TBL = 78¶
- FILE_FILTER_UBC_CON¶
UBC DCIP2D Conductivity model files
*.con
LOCAL- gxapi.FILE_FILTER_UBC_CON = 79¶
- FILE_FILTER_UBC_CHG¶
UBC DCIP2D Chargeability model files
*.chg
LOCAL- gxapi.FILE_FILTER_UBC_CHG = 80¶
- FILE_FILTER_XYZ_TEMPLATE_I0¶
XYZ Import Templates
*.i0
LOCAL- gxapi.FILE_FILTER_XYZ_TEMPLATE_I0 = 85¶
- FILE_FILTER_PICO_TEMPLATE_I1¶
Picodas Import Templates
*.i1
LOCAL- gxapi.FILE_FILTER_PICO_TEMPLATE_I1 = 86¶
- FILE_FILTER_BB_TEMPLATE_I2¶
Block Binary Import Templates
*.i2
LOCAL- gxapi.FILE_FILTER_BB_TEMPLATE_I2 = 87¶
- FILE_FILTER_ASCII_TEMPLATE_I3¶
ASCII Import Templates
*.i3
LOCAL- gxapi.FILE_FILTER_ASCII_TEMPLATE_I3 = 88¶
- FILE_FILTER_ODBC_TEMPLATE_I4¶
ODBC Import Templates
*.i4
LOCAL- gxapi.FILE_FILTER_ODBC_TEMPLATE_I4 = 89¶
- FILE_FILTER_RESOURCE_PACK¶
Geosoft Resource Update Packages
*.geosoft_resource_pack
LOCAL- gxapi.FILE_FILTER_RESOURCE_PACK = 97¶
- FILE_FILTER_VECTORVOXEL¶
Geosoft Vector Voxel
*.geosoft_vectorvoxel
LOCAL- gxapi.FILE_FILTER_VECTORVOXEL = 101¶
- FILE_FILTER_XYZ_TEMPLATE_O0¶
XYZ Export Templates
*.o0
LOCAL- gxapi.FILE_FILTER_XYZ_TEMPLATE_O0 = 103¶
- FILE_FILTER_IP_DATABASE_TEMPLATE¶
GXIP
Database Template*.geosoft_ipdatabasetemplate
LOCAL- gxapi.FILE_FILTER_IP_DATABASE_TEMPLATE = 105¶
- FILE_FILTER_GEOSOFT_RESOURCE_MODULE¶
Geosoft Resource Module
*.geosoft_resources
LOCAL- gxapi.FILE_FILTER_GEOSOFT_RESOURCE_MODULE = 106¶
- FILE_FILTER_VULCAN_TRIANGULATION¶
Maptek Vulcan trianguilation file
*.tbl
LOCAL- gxapi.FILE_FILTER_VULCAN_TRIANGULATION = 113¶
- FILE_FILTER_VULCAN_BLOCK_MODEL¶
Maptek Vulcan block model file
*.bmf
LOCAL- gxapi.FILE_FILTER_VULCAN_BLOCK_MODEL = 114¶
- FILE_FILTER_LEAPFROG_MODEL¶
Leapfrog model files
*.lfm
LOCAL- gxapi.FILE_FILTER_LEAPFROG_MODEL = 116¶
- FILE_FILTER_LACOSTE_DAT¶
Micro-g LaCoste MGS-6 gravity files
*.:class
:DAT
LOCAL- gxapi.FILE_FILTER_LACOSTE_DAT = 119¶
FILE_FORM constants¶
File Form Defines
GS_DIRECTORY constants¶
Geosoft predefined directory
IMPCH_TYPE constants¶
Import Chem defines
WINDOW_STATE constants¶
Window State Options
XTOOL_ALIGN constants¶
XTool docking alignment flags
XTOOL_DOCK constants¶
XTool default docking state