Introduction

The GXContext class

class geosoft.gx.GXContext

The main GX execution context. A single instance of this object needs to be created before using any other class in the geosoft.gx module.

static create((str) application, (str)version) → GXContext

Creates the GX execution context.

Parameters:
  • application (str) – Calling application name
  • version (str) – Calling application version
Returns:

A GX execution context.

Return type:

geosoft.gx.GXContext

Note

There should be a single instance of this class constructed in a global location prior to using any other GX API classes and their methods. By default the module will only function if an installed Oasis montaj product is found since it loads the dlls that are shipped with Oasis montaj for the actual functionality.

It is possible to redirect the location of dlls used by setting the GX_GEOSOFT_BIN_PATH environment variable. This can be done either using the normal Windows mechanisms (i.e. via set command line or Advanced System Settings->Environment Variables) or directly in Python code by using os.putenv("GX_GEOSOFT_BIN_PATH", ...). If the intention is to use the public standalone API that is shipped with GX Developer then this should be set to wherever the GeosoftFiles redistributable folder is copied or installed.

Exceptions

exception geosoft.gx.GXRunTimeError

This exception is derived from RuntimeError and is used to report any errors resulting from the invocation of any GX API method or class instantiation.

Helper classed to pass immutable values by reference

class geosoft.gx.str_ref
class geosoft.gx.bool_ref
class geosoft.gx.int_ref
class geosoft.gx.float_ref

Each of the classes above can be used to pass these immutable types by reference to the GX API. Instances of the objects has a value property holding a reference to the immutable.

Default instances will be intialized with dummy values for float_ref and int_ref, an empty string for str_ref and False for bool_ref. One can also set the value during intialization or assigning to the value property.

Example usage:

import geosoft.gx as gx

     ctx = gx.GXContext.create("sample", "1.0")
     _3dn = gx.GX3DN.create(ctx)

     distance = gx.float_ref() # value property will be equal to gx.rDUMMY
     rot1 = gx.float_ref(1.01) # value property will be equal to 1.01
     rot2 = gx.float_ref(2.0)  # value property will be equal to 2.0
     rot2.value = 4  # value property will be equal to 4.0

     _3dn.get_point_of_view(distance, rot1, rot2)

     print(distance.value) # value property will now be 8.0
     print(rot1.value) # value property will now be 0.0
     print(rot2.value) # value property will now be 0.0

Other Classes in the GX API

GX3DN class

class geosoft.gx.GX3DN
This class manages the rendering of a 3D view. It allows
the positioning of the camera, specification of the zoom
as well as some rendering controls for the axis. It is
directly releated to the MVIEW class.

More...

GX3DV class

class geosoft.gx.GX3DV
TODO...

More...

GXACQUIRE class

class geosoft.gx.GXACQUIRE
This class is used to import Acquire data. It uses the
public Acquire API.

More...

GXAGG class

class geosoft.gx.GXAGG
The AGG class is used to handle image display on maps.
An aggragate contains one or more image layers (LAY) with
each layer representing a grid or image file. The AGG
will combine all the layers to form one image

More...

GXARCDB class

class geosoft.gx.GXARCDB
The ARCDB class is used in ArcGIS to access table contents from
data sources and layers.

More...

GXARCDH class

class geosoft.gx.GXARCDH
This library is not a class. It contains various utilities
used in the Target extension for ArcGIS.

More...

GXARCMAP class

class geosoft.gx.GXARCMAP
This library is not a class. It contains various utilities
used in maps and layers by the Geosoft extensions for ArcGIS.

More...

GXARCSYS class

class geosoft.gx.GXARCSYS
This library is not a class. It contains various general
system utilities used by the Geosoft extensions for ArcGIS.

More...

GXBF class

class geosoft.gx.GXBF
The BF class is used to access (or create) Binary files and remove
(or destroy) files from use. You can also perform a variety of
additional tasks, such as positioning within files, reading from
files and writing to files.

More...

GXBIGRID class

class geosoft.gx.GXBIGRID
The Bigrid class is used to grid data using a optimized algorithm that
assumes data is collected in semi-straight lines.

More...

GXCHIMERA class

class geosoft.gx.GXCHIMERA
CHIMERA GX function library.

More...

GXCOM class

class geosoft.gx.GXCOM
This class is used to communicate with external serial devices. It allows the setting of timeouts.

More...

GXCSYMB class

class geosoft.gx.GXCSYMB
This class is used for generating and modifying colored symbol objects.
Symbol fills are assigned colors based on their Z values and a zone, Aggregate
or ITR file which defines what colors are associated with different ranges
of Z values. The position of a symbol is defined by its X,Y coordinates.

More...

GXDAT class

class geosoft.gx.GXDAT
The DAT object is used to access data from an variety of data sources
using the same access functions. The DAT interface supports data access
on a point-by-point, of line-by-line basis.  For example,
the geosoft.gx.GXBIGRID.run() function uses 2 DAT objects - one DAT associated with the
input data source, which is read line-by-line, and a second associated with
the output grid file output grid file.

Use a specific DAT creation method for an associated
information source in order to make a DAT as required
by a specific processing function.  The gridding methods all use DATs.

More...

GXDATALINKD class

class geosoft.gx.GXDATALINKD
DATALINK Display object.

More...

GXDATAMINE class

class geosoft.gx.GXDATAMINE
DATAMINE functions provide an interface to Datamine Software Limited files.
See also GIS.GXH for various other Datamine-specific functions.

Note:

None.

More...

GXDB class

class geosoft.gx.GXDB
The DB class is used to create, open and work with databases and database symbols.
Database symbols are objects inside databases, such as lines, channels and blobs

Note:

The follwing defines are not used by any methods but are
used by GX's:

DB_ACTIVITY_BLOB constant

More...

GXDBREAD class

class geosoft.gx.GXDBREAD
The DBREAD class is used to open and read from databases. Very large lines
  are split into blocks and served up sequentially to prevent the over-use of virtual memory when channels are read into VVs or VAs.
  Individual data blocks are limited by default to 1 MB (which is user-alterable). Single lines smaller than the block size
  are served up whole, one block per line.

More...

GXDGW class

class geosoft.gx.GXDGW
Provides access to dialog boxes for user I/O. You can
use this class to store to, or retrieve information from
the current workspace parameter block via dialog boxes

Note:

Setting Fonts in GX dialogs.

By default, "new look" GX dialogs uses the "Tahoma" font. This font can be
overridden by updating the application settings. This can be done programmatically
using the geosoft.gx.GXSYS.global_set() function using the following parameters:

MONTAJ.GX_FONT="Font_name"

This sets the default font to "Font_name". It applies to text in all
components of the dialog.

Additional customization of individual components can be accomplished
using the following parameters:

MONTAJ.GX_CAPTION_FONT="Caption_Font": Font for the field captions (labels)
MONTAJ.GX_BUTTON_FONT="Button_Font"  : Font for buttons, including the "Browse"
                                button
MONTAJ.GX_TITLE_FONT="Title_Font"    : Font for special titles (see geosoft.gx.GXDGW.set_title()).

The font used for the text in edit windows remains the default, or the
value specified using MONTAJ.GX_FONT.

Note that the "OK" button, and the Title, use "Bold" versions of the
specified font. If the bolded version does not exist as a normal font,
then the operating system may provide its own alternative which may not
appear the same as you expect.

Before version 6.2. there used to be a parameter, MONTAJ.GX_CHARSET, that
affected characters above ASCII 127. 6.2. introduced Unicode in the core
montaj engine that eliminated the need for such a setting. All strings
on the GX API level are encoded in UTF8 during runtime which makes it possible
to represent all possible characters without using character sets.

More...

GXDH class

class geosoft.gx.GXDH
This class is used for importing and interacting with Drill Hole
data files. For detailed information on Drill Hole data,
see the documentation for Wholeplot.

Note:

The DH class has some defines not used by any functions.
    DH_DEFINE_PLAN constant
    DH_DEFINE_SECT constants

More...

GXDMPPLY class

class geosoft.gx.GXDMPPLY
Datamine Multiple polygon object

More...

GXDOCU class

class geosoft.gx.GXDOCU
Class to work with documents

More...

GXDSEL class

class geosoft.gx.GXDSEL
The DSEL object is used to select subsets of data from the DATA object

More...

GXDU class

class geosoft.gx.GXDU
DU functions provide a variety of common utilities that can be applied
efficiently to the contents of a database. Most DU library functions take
as their first argument a DB object, and apply standard processes to data
stored in an OASIS database, including import and export functions.

Note:

The following defines are used by GX functions but are not required
for any methods:

DU_LINES constants

More...

GXDXFI class

class geosoft.gx.GXDXFI
The DXFI class is used for importing AutoCAD® dxf files into Geosoft maps.

More...

GXEDB class

class geosoft.gx.GXEDB
The EDB class provides access to a database as displayed within
Oasis montaj, but does not change data within the database itself.
It performs functions such as setting the current line.

Note:

To obtain access to the database itself, it is recommended practice
to begin with an EDB object, and use the geosoft.gx.GXEDB.lock() function to
lock the underlying map to prevent external changes. The returned
DB object (see DB.GXH) may then be safely used to make changes to the map itself.

More...

GXEDOC class

class geosoft.gx.GXEDOC
The EDOC class provides access to a generic documents views as loaded within
Oasis montaj.

More...

GXEMAP class

class geosoft.gx.GXEMAP
The EMAP class provides access to a map as displayed within
Oasis montaj, but (usually) does not change data within the map itself.
It performs functions such as setting the currently displayed area,
or drawing "tracking" lines or boxes on the map (which are not
part of the map itself).

Note:

To obtain access to the map itself, it is recommended practice
to begin with an EMAP object, and use the geosoft.gx.GXEMAP.lock() function to
lock the underlying map to prevent external changes. The returned
MAP object (see MAP.GXH) may then be safely used to make changes to the map itself.

MAP Redraw Rules:

1. Redraws only occur at the end of the proccess (GX or SCRIPT) not during.
You can safely call other GX's and the map will not redraw. If you need the
map to redraw immediately use geosoft.gx.GXEMAP.redraw() instead.

2. If the final GX calls geosoft.gx.GXSYS._cancel(), the map redraw is not done. If you
need to force a redraw when the user hits cancel use the geosoft.gx.GXEMAP.redraw() function.

3. You can set the redraw flag to EMAP_REDRAW_YES or EMAP_REDRAW_NO at any
time using geosoft.gx.GXEMAP.set_redraw_flag(). This flag will only be looked at, when
the last call to geosoft.gx.GXEMAP.un_lock() occurs and is ignored on a geosoft.gx.GXSYS._cancel().

4. geosoft.gx.GXEMAP.redraw() only works if the current map is not locked. It will do nothing
if the map is locked.  Issue an geosoft.gx.GXEMAP.un_lock() before using this function.


VIRTUAL EMAP SUPPORT

These methods are only available when running in an external application.
They allow the GX to open a MAP and then create a Virtual EMAP from that
map. The GX can then call geosoft.gx.GXEMAP.make_current() and set the current EMAP so
that code that follows sees this map as the current MAP.

Supported methods on Virtual EMAPS are:

geosoft.gx.GXEMAP.current()
geosoft.gx.GXEMAP.make_current()
geosoft.gx.GXEMAP.have_current()
geosoft.gx.GXEMAP.current_if_exists()
geosoft.gx.GXMAP.current()

geosoft.gx.GXEMAP.lock()
geosoft.gx.GXEMAP.un_lock()
geosoft.gx.GXEMAP.is_locked()

geosoft.gx.GXEMAP.get_name()
geosoft.gx.GXEMAP.set_redraw_flag()
geosoft.gx.GXEMAP.redraw()

geosoft.gx.GXEMAP.loaded()
geosoft.gx.GXEMAP.load()
geosoft.gx.GXEMAP.un_load_verify()
geosoft.gx.GXEMAP.un_load()

geosoft.gx.GXEMAP.create_virtual()

More...

GXEMAPTEMPLATE class

class geosoft.gx.GXEMAPTEMPLATE
             The EMAPTEMPLATE class provides access to a map template as displayed within
Oasis montaj, but does not change data within the template itself.
It performs functions such as setting the currently displayed area,
or drawing "tracking" lines or boxes on the template (which are not
part of the template itself).

Note:

             To obtain access to the map template itself, it is recommended practice
to begin with an EMAPTEMPLATE object, and use the Lock function to
lock the underlying template to prevent external changes. The returned
MAPTEMPLATE object may then be safely used to make changes to the template itself.

VIRTUAL EMAPTEMPLATE SUPPORT

These methods are only available when running in an external application.
They allow the GX to open a map template and then create a Virtual EMAPTEMPLATE from that
map template. The GX can then call MakeCurrent and set the current EMAPTEMPLATE so
that code that follows sees this map template as the current MAPTEMPLATE.

Supported methods on Virtual EMAPTEMPLATEs are:

  geosoft.gx.GXEMAPTEMPLATE.current()
  geosoft.gx.GXEMAPTEMPLATE.make_current()
  geosoft.gx.GXEMAPTEMPLATE.have_current()
  geosoft.gx.GXEMAPTEMPLATE.current_if_exists()

  geosoft.gx.GXEMAPTEMPLATE.lock()
  geosoft.gx.GXEMAPTEMPLATE.un_lock()

  geosoft.gx.GXEMAPTEMPLATE.get_name()

  geosoft.gx.GXEMAPTEMPLATE.loaded()
  geosoft.gx.GXEMAPTEMPLATE.load()
  geosoft.gx.GXEMAPTEMPLATE.un_load_verify()
  geosoft.gx.GXEMAPTEMPLATE.un_load()

  geosoft.gx.GXEMAPTEMPLATE.create_virtual()

More...

GXEMXD class

class geosoft.gx.GXEMXD
             The EMXD class provides access to a ArcGIS MXD as displayed within
Oasis montaj, but does not change data within the MXD itself.

Note:

             To obtain access to the ArcGIS MXD itself, it is recommended practice
to begin with an EMXD object, and use the Lock function to
lock the underlying MXD to prevent external changes. The returned
MXD object may then be safely used to make changes to the template itself.

VIRTUAL EMXD SUPPORT

These methods are only available when running in an external application.
They allow the GX to open a ArcGIS MXD and then create a Virtual EMXD from that
ArcGIS MXD. The GX can then call MakeCurrent and set the current EMXD so
that code that follows sees this ArcGIS MXD as the current MXD.

Supported methods on Virtual EMXDs are:

  geosoft.gx.GXEMXD.current()
  geosoft.gx.GXEMXD.make_current()
  geosoft.gx.GXEMXD.have_current()
  geosoft.gx.GXEMXD.current_if_exists()

  geosoft.gx.GXEMXD.lock()
  geosoft.gx.GXEMXD.un_lock()

  geosoft.gx.GXEMXD.get_name()

  geosoft.gx.GXEMXD.loaded()
  geosoft.gx.GXEMXD.load()
  geosoft.gx.GXEMXD.un_load_verify()
  geosoft.gx.GXEMXD.un_load()

  geosoft.gx.GXEMXD.create_virtual()

More...

GXEUL3 class

class geosoft.gx.GXEUL3
This is a specialized class which performs 3D Euler deconvolution
for potential field interpretation.

More...

GXEXP class

class geosoft.gx.GXEXP
EXP objects are created from text strings that contain
C-like math to be applied to channels in a database.
It is used with the geosoft.gx.GXDU.math() function (see DU). See also
IEXP for applying math expressions to images (grids).
See also geosoft.gx.GXDU.math() applies expressions to the database

More...

GXEXT class

class geosoft.gx.GXEXT
External (plug-in) image methods.

More...

GXFFT class

class geosoft.gx.GXFFT
This class allows for the application of predefined
filters to data in an OASIS database. The system uses
the Winograd algorithm to transform data in the spatial
domain to the wavenumber or Fourier domain.

More...

GXFFT2 class

class geosoft.gx.GXFFT2
2-D Fast Fourier Transforms
These methods now work with an IMG object, instead of creating
their own FFT2 object.

More...

GXFLT class

class geosoft.gx.GXFLT
The FLT class allows the application of user-defined convolution filters to data in an OASIS database

More...

GXGD class

class geosoft.gx.GXGD
This class provides access to Geosoft grid files using an old interface.
Only the geosoft.gx.GXDU.sample_gd() function uses this class.  Use the IMG class
instead.

More...

GXGEOSTRING class

class geosoft.gx.GXGEOSTRING
The GEOSTRING class is used to read information stored in Geostring files (*.geosoft_string). Geosoft geostrings are 3D vector files that store digitized interpretations drawn on section maps. Both polygon and polyline features can be stored in the same file. This API currently only provides read access, but read/write support could be added in the future.            

More...

GXGER class

class geosoft.gx.GXGER
Allows access to a Geosoft format error message file. This class
does not in itself produce an error message, but retrieves a
selected message from the file, and allows the
setting of replacement parameters within the message. It
is up to the user to display or use the message.

Note:

GER message files contain numbered messages that can be used within GXs.
Following is an example from the file GEOSOFT.GER:


      #20008
      ! Invalid password. The product installation has failed.

      #20009
      ! Unable to find INI file: %1
      ! See the documentation for details


A '#' character in column 1 indicates a message number.  The message
follows on lines that begin with a '!' character.  Strings in the message
may be replaced at run time with values using the geosoft.gx.GXGER.set_string(),
geosoft.gx.GXGER.set_int() and geosoft.gx.GXGER.set_double() methods. The iGet_GER will return the message
with strings replaced by their settings.  By convention, we recommend
that you use "%1", "%2", etc. as replacement strings.

More...

GXGIS class

class geosoft.gx.GXGIS
The GIS class is used for the import, export,
and interrogation of GIS Data stored in external formats,
such as MapInfo® TAB files.

More...

GXGMSYS class

class geosoft.gx.GXGMSYS
The GMSYS Methods

More...

GXGOLEDB class

class geosoft.gx.GXGOLEDB
Geosoft OLE DB connectivity to relational database

More...

GXGU class

class geosoft.gx.GXGU
Not a class. A catch-all group of functions performing
various geophysical processes, including the calculation
of simple EM model responses, certain instrument dump
file imports, and 2D Euler deconvolution.

More...

GXGUI class

class geosoft.gx.GXGUI
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.

More...

GXHGD class

class geosoft.gx.GXHGD
High Performance Grid. Designed to place grid data
on a DAP server. It produces a multi-resolution
compressed object that supports multi-threading and
allows for high-speed extraction of data at any
resolution.

More...

GXHTTP class

class geosoft.gx.GXHTTP
Connect to an Internet Server using HTTP.

Note:

References:

1. http://www.w3.org/Protocols/HTTP/HTTP2.html

2. http://www.w3.org/Addressing/URL/5_BNF.html

Note that path and search must conform be xalpha string (ref 2.).
Special characters can be specified with a %xx, where xx is the
hex ASCII number.  For example, a search string "This one" should
be  specified as "This%20one"

More...

GXHXYZ class

class geosoft.gx.GXHXYZ
High Performance Data Point Storage. This is used
to put Point data on a DAP server. It is compressed
and uses a Quad-Tree design to allow very high speed
data extraction. It is also multi-threaded.

More...

GXIEXP class

class geosoft.gx.GXIEXP
The IEXP class is similar to the EXP class, but is used
to apply math expressions to grids (IMG objects).

More...

GXIGRF class

class geosoft.gx.GXIGRF
International Geomagnetic Reference Field
Methods to work with IGRF objects. The IGRF object
contains data for the IGRF model of the geomagnetic
reference field.

More...

GXIMG class

class geosoft.gx.GXIMG
The IMG class performs read and write operations on grid
file data. When efficient access along both rows and columns
is desired the PG class is recommended (see PG and PGU);
the IMG is first created, then the PG is obtained from
the IMG using geosoft.gx.GXIMG.get_pg().

Note:

The IMG methods use the XGD DATs to access grid files in different
formats.  The characteristics of a grid can be controlled using
decorations on a grid file name.  For example:

geosoft.gx.GXIMG.create_new_file()(GS_DOUBLE,1,100,100,"mag.grd");
   -> creates a new grid file "mag.grd" with all defaults.

geosoft.gx.GXIMG.create_new_file()(GS_DOUBLE,1,100,100,"mag.grd(GRD;comp=none)");
   -> creates a new grid file "mag.grd" with no compression.

geosoft.gx.GXIMG.create_new_file()(GS_DOUBLE,1,100,100,"mag.grd(GRD;comp=size;type=short");
   -> creates a new grid file "mag.grd" compressed for size, numbers
      stored as 2-byte integers..

See DAT_XGD.DOC for information about file name decorations available
for all DAT types.

Different grid types support different features.  For example, not all
grid types support projection information.  Geosoft will always create
a *.gi file that is used to store all such information that we require
from a grid.  If the grid does support this information, both the grid
and the *.gi file will contain the information.

More...

GXIMU class

class geosoft.gx.GXIMU
Not a class. This is a catch-all group of functions working
on IMG objects (see IMG). Grid operations include masking,
trending, windowing, expanding and grid stitching.

More...

GXINTERNET class

class geosoft.gx.GXINTERNET
This library provides functions for accessing the internet
and MAPI-compliant e-mail services.
Supported by Oasis montaj ONLY.

More...

GXIP class

class geosoft.gx.GXIP
This class is used in the IP System for the import, export
and processing of Induced Polarization data.

Note:

The following defines are used in GX code but are not
part of any functions:

IP_ARRAY constants
IP_CHANNELS constants
IP_LINES constants

More...

GXIPGUI class

class geosoft.gx.GXIPGUI
This class is used in the IP System for GUI functions
such as defining parameters for pseudo-section plots.

Note:

None

More...

GXIPJ class

class geosoft.gx.GXIPJ
The IPJ class describes a single spatial reference in the world,
defined under a coordinate system, an orientation,
and a warp (which can be used to distort the projected object
to a particular shape or boundary).

Note:

IPJ objects may be attached to channels or views. Two IPJs taken
together are used to create a PJ object, which allows for the
conversion of positions from one projection to the other.
See also the LL2 class, which creates Datum correction lookups.

See also          PJ    Converts coordinates between projections
LL2   Creates Datum correction lookups.

More...

GXITR class

class geosoft.gx.GXITR
The ITR class provides access to ITR files. An ITR file maps
ranges of values to specific colours. The ITR object is typically
used in conjunction with MVIEW objects (see MVIEW and MVU).

Note:

Histogram ranges and colour zone ranges

Histogram bins are defined with inclusive minima and exclusive maxima;
for instance if Min = 0 and Inc = 1, then the second bin would include
all values z such that  0 <= z < 1 (the first bin has all values < 0).

Colour zones used in displaying grids (ITR, ZON etc...) are the
opposite, with exclusive minima and inclusive maxima.
For instance, if a zone is defined from 0 to 1, then it would
contain all values of z such that 0 < z <= 1.

These definitions mean that it is impossible to perfectly assign
ITR colours to individual bars of a histogram. The best work-around
when the data values are integers is to define the colour zones using
0.5 values between the integers. A general work-around is to make the
number of histogram bins much larger than the number of colour zones.

The geosoft.gx.GXITR.null() is used to hold a NULL handle to an ITR class.

More...

GXKGRD class

class geosoft.gx.GXKGRD
The KGRD object is used as a storage place for the control
parameters that the Krigrid program needs to execute. The
Run_KGRD function executes the Krigrid program using the
KGRD object.

More...

GXLAYOUT class

class geosoft.gx.GXLAYOUT
Layout class for generic relative layout calculation

The relative layout algorithm allows a logical organization of layout rectangles.
You can set constraints with English-like semantics. For example:

   "Set the left side of rectangle 1 equal to the right side of rectangle 2 plus 10 pixels."
   "Set the bottom of rectangle 1 to 25 percent of the height of rectangle 2."
   "Move node 1 such that its bottom is equal to the top of rectangle 2 minus 10 pixels."

The last constraint set would enjoy priority over any others as it would be
the last one that would influence the rectangle calculations. See the notes for iSetConstraint
for more details.

More...

GXLL2 class

class geosoft.gx.GXLL2
local datum lookup creator
ll2 methods are used to create LL2 objects.  LL2 objects contain
latitude, longitude correction lookup tables to convert between datums.

More...

GXLMSG class

class geosoft.gx.GXLMSG
Message class methods.

More...

GXLPT class

class geosoft.gx.GXLPT
This class allows access to the current default line patterns.
It does not allow the definition of individual patterns. It is
is used primarily with MAP class functions.

More...

GXLST class

class geosoft.gx.GXLST
The LST class is used to create and retrieve lists,
and to perform specific actions on lists, including
retrieving list items, sorting lists and adding or
removing list items.

More...

GXLTB class

class geosoft.gx.GXLTB
An LTB object is typically created from a CSV (comma-separated values)
file, and is a table of information that may be accessed by row
or column. The LTB class is recommended for use with small tables
produced from short lists (of the order of 1000's or records) such
as the different geographic projections and their defining parameters.
Large tables, such as those required for table-lookup functions, should
be accessed using the TB class.

Note:

An LTB ASCII table file has the following structure:

      / comments
      key_name,col_1,col_2,col_3,etc...    /field names
      key_1,token,token,token,etc...       /data lines
      key_2,token,token,token,etc...
      etc...

The first column must be the key column (all entries unique).

The header line is optional and can be used to find entries.

Comment and empty lines are ignored.

More...

GXMAP class

class geosoft.gx.GXMAP
MAPs are containers for MVIEW objects. A view is a 3-D translation
and a clip window on a map. Graphic entities can be drawn in an MVIEW.
It is recommended that the MAP class be instantiated by first creating
an EMAP object and calling the geosoft.gx.GXEMAP.lock()() function.
(See the explanation on the distinction between the MAP and EMAP classes).

More...

GXMAPL class

class geosoft.gx.GXMAPL
The MAPL class is the interface with the MAPPLOT program,
which reads a MAPPLOT control file and plots graphical
entities to a map. The MAPL object is created for a given
control file, then passed to the MAPPLOT program, along
with the target MAP object on which to do the drawing

More...

GXMAPTEMPLATE class

class geosoft.gx.GXMAPTEMPLATE
A MAPTEMPLATE wraps and provides manipulation and usage for the XML content in map template files.
See the annotated schema file maptemplate.xsd in the <GEOSOFT>maptemplate folder and the accompanying
documentation in that folder for documentation on the file format.

More...

GXMATH class

class geosoft.gx.GXMATH
This is not a class. This is a collection of standard
mathematical functions, including most of the common
logarithmic and geometric functions.

More...

GXMETA class

class geosoft.gx.GXMETA
A META object contains hierarchical organized metadata
of any type, including other objects.  META information
is organized in an XML-like structure based on a data
schema that describes the data hierarchy.   META objects
are used by many entities that need to store metadata
specific to the entities or to the application.

Metadata can be saved in databases and maps, as well as in
channels, lines, views and groups.  Oasis montaj objects
can be queried for their associated metadata, and if it
exists, the metadata can be retrieved and utilized by
other Oasis montaj processes.

More...

GXMISC class

class geosoft.gx.GXMISC
Not a class. A catch-all for miscellaneous geophysical
methods, primarily file conversions.

More...

GXMSTK class

class geosoft.gx.GXMSTK
Multi-profile stack
This class is used for storing data of multiple profiles and
plotting profiles in a map. It is a container of STK class objects.

See also:         STK class.

More...

GXMVG class

class geosoft.gx.GXMVG
The MVG class provides the ability to create view graphs.

More...

GXMVIEW class

class geosoft.gx.GXMVIEW
A view (MVIEW class) has a 2-D/3-D translation matrix, a map
projection and a clip region.  A view contains any number of
"groups", and each "group" contains one or more graphics
elements (entities).  Different types of groups will contain
different types of entities:

Note:

CSYMB groups (colour symbols) contain data and rules for
  presenting the data as colour symbols.  See geosoft.gx.GXMVIEW.col_symbol()
  and the CSYMB class.

AGG groups (aggregates) contain images.  See geosoft.gx.GXMVIEW.aggregate()
  and the AGG class.

PAGG groups (poly-aggregates) contain images with multiple
  frames that make up an animation.  See geosoft.gx.GXMVIEW.poly_aggregate()
  and the PAGG class.

Standard groups contain symbols, lines, polylines, and polygons.
   See geosoft.gx.GXMVIEW.start_group().

More...

GXMVU class

class geosoft.gx.GXMVU
A catchall library for methods using the MAP and MVIEW classes.
These include drawing flight paths, legends, postings, and
special objects such as histograms and bar charts.

More...

GXMXD class

class geosoft.gx.GXMXD
A MXD wraps and provides manipulation and usage for
the content of an ArcGIS MXD file.

More...

GXPAT class

class geosoft.gx.GXPAT
A PAT object is created from a Geosoft-format pattern file.
It contains all the individual patterns listed in the file.

Notes                You may create your own fill patterns should be added to the "user.pat"
le in the <geosoft>useretc directory.

you wish to add your own fill patterns, create a file named user.pat in
e <geosoft>/User/ directory and add your own fill patterns in the number
nge 20000 to 29999.

More...

GXPDF3D class

class geosoft.gx.GXPDF3D
The PDF3D class provides the ability to create 3D PDFs.

More...

GXPG class

class geosoft.gx.GXPG
Pager methods for large 2-D arrays
This class handles very-large 2-D arrays in which efficient
access is required along both rows and columns.

Note:

Typically a grid is accessed using the IMG class, and a PG
is obtained from the IMG using the geosoft.gx.GXIMG.get_pg() function.
Following operations on the PG, it can be written back to
the IMG using geosoft.gx.GXIMG.set_pg().

More...

GXPGEXP class

class geosoft.gx.GXPGEXP
The PGEXP class is similar to the EXP class, but is used
to apply math expressions to pagers (PG objects).

It works only on PGs of the same dimensions.

More...

GXPGU class

class geosoft.gx.GXPGU
A collection of methods applied to PG objects, including
fills, trending and 2-D FFT operations.

More...

GXPJ class

class geosoft.gx.GXPJ
The PJ object is created from two IPJ objects,
and is used for converting data in an OASIS database
or map object from one map coordinate (projection)
system to another.

More...

GXPLY class

class geosoft.gx.GXPLY
The PLY object contains the definitions for one or more
polygons, and does import and export of polygon files.

More...

GXPRAGA3 class

class geosoft.gx.GXPRAGA3
PRAGA3 application methods

Note:

No notes

More...

GXPROJ class

class geosoft.gx.GXPROJ
Project functions

More...

GXRA class

class geosoft.gx.GXRA
The RA class is used to access ASCII files sequentially or
by line number. The files are opened in read-only mode, so no
write operations are defined

More...

GXREG class

class geosoft.gx.GXREG
The REG class is used for storing and retrieving named
variables. Many classes contain REG objects for storing
information particular to the class.  The META class supersedes
the REG class and is gradually replacing the use of the
REG class in newer applications.

More...

GXRGRD class

class geosoft.gx.GXRGRD
The RGRD object is used as a storage place for the control
parameters which the Rangrid (minimum curvature) program needs to execute. The
Run_RGRD function executes the Rangrid program using the RGRD object.

More...

GXSBF class

class geosoft.gx.GXSBF
The SBF class provides a means of storing data in a
file-type directory structure within a workspace, database
or map. Each of these three objects contains its own SBF object,
which may be accessed using the geosoft.gx.GXSBF.h_get_sys(), geosoft.gx.GXSBF.h_get_db() and
geosoft.gx.GXSBF.h_get_map() functions. To access data in a file, or create a
new file in the SBF object, call the CreatSBF_BF function (see BF),
which will return a BF object to use.

More...

GXSEMPLOT class

class geosoft.gx.GXSEMPLOT
Oasis montaj implementation of RTE SEMPLOT

More...

GXSHP class

class geosoft.gx.GXSHP
The SHP class is used to create ESRI shape files.

Note:

Shape files contain a single "geometry" type, e.g.
points, arcs or polygons. They may be accompanied by
a DBF file containing attribute data.

More...

GXSQLSRV class

class geosoft.gx.GXSQLSRV
SQL Server and MSDE utility functions

More...

GXST class

class geosoft.gx.GXST
Mono-variate statistics. The ST class is used to accumulate statistical
information about a set of data. This class is usually used in conjunction
with others. For instance, geosoft.gx.GXDU.stat() (see DU) will add a channel's
data to the ST object, and sComputeST_IMG (see IMG) will compute
statistics for a grid.

Note:

*** Histogram ranges and colour zone ranges ***

Histogram bins are defined with inclusive minima and exclusive maxima;
for instance if Min = 0 and Inc = 1, then the second bin would include
all values z such that  0 >= z > 1 (the first bin has all values < 0).

Colour zones used in displaying grids (ITR, ZON etc...) are the
opposite, with exclusive minima and inclusive maxima.
For instance, if a zone is defined from 0 to 1, then it would
contain all values of z such that 0 > z >= 1.

These definitions mean that it is impossible to perfectly assign
ITR colours to individual bars of a histogram. The best work-around
when the data values are integers is to define the colour zones using
0.5 values between the integers. A general work-around is to make the
number of histogram bins much larger than the number of colour zones.

See also  ST2 (bi-variate statistics)

More...

GXST2 class

class geosoft.gx.GXST2
Bi-variate statistics. The ST2 class accumulates statistics
on two data vectors simultaneously in order to compute correlation
information. Statistics are accumulated using the geosoft.gx.GXST2.data_vv() function.
See also ST (mono-variate statistics).

More...

GXSTK class

class geosoft.gx.GXSTK
The STK class is used for plotting a single data profile in
an MVIEW. The MSTK class (see MSTK.GXH) is used to plot
multiple STK objects to a single map.

Use geosoft.gx.GXMSTK.add_stk() fuction to create a STK object before
using functions in this file

SEE MSTK FILE FOR DETAILED DESCRIPTIONS OF ALL FUNCTION PARAMETERS.

More...

GXSTR class

class geosoft.gx.GXSTR
This library is not a class. Use the STR library functions
to work with and manipulate string variables. Since the
GX Programming Language does not provide string literal
tokens, you must use these functions for any string operations
you want to perform.

More...

GXSTRINGS class

class geosoft.gx.GXSTRINGS
The STRINGS class is used for displaying digitization tools for interpretations

More...

GXSURFACE class

class geosoft.gx.GXSURFACE
The SURFACE class allows you to create, read and alter Geosurface files (*.geosoft_surface).
A Geosurface file can contain one or more surface items (see SURFACEITEM class). In turn each item can
contains one or more triangular polyhedral meshes.

More...

GXSURFACEITEM class

class geosoft.gx.GXSURFACEITEM
The SURFACEITEM allows you to create, read and alter Geosurface files (*.geosoft_surface).
A Geosurface file can contain one or more surface items (see SURFACE class). A surface item can
contains one or more triangular polyhedral meshes.

More...

GXSYS class

class geosoft.gx.GXSYS
The SYS library functions perform a wide range functions,
including the storage and retrieval of named parameters
from the current workspace; writing messages to the user;
display of progress bars; retrieving file, date and time
information from the operating system; and providing warning
and error handling functions.

Note:

PARAMETER CONTROL FUNCTIONS

Parameters can be named with an index extension.
For example, a parameter could be named as "PARM[1]".
The index can be a positive number, or it can be a '*'.

If the index is a '*' in "geosoft.gx.GXSYS.set_string()", then the value string
will be parsed into multiple values. Commas are assumed to be delimiters.

E.g.

geosoft.gx.GXSYS.set_string()("group1",
              "multiparm[*]",
              "value1,"value,2","value 3",  value4  ,"value 5 "");

This call will set   multiparm[0] ="value1"
                     multiparm[1] ="value,2"
                     multiparm[2] ="value 3"
                     multiparm[3] ="value4"
                     multiparm[4] ="value 5"

To read a parameter, name the parameter with the index.  Thre is no
looped-reading ability.  For example:

     GetString_SYS("group1","multiparm[3]",sSetting);

     returns sSetting = "value4"

More...

GXTB class

class geosoft.gx.GXTB
The TB class is a high-performance table class used to
perform table-based processing, such as leveling data in
an OASIS database. The LTB class is recommended for use
with small tables produced from short lists such as the
different geographic projections and their defining parameters.

More...

GXTC class

class geosoft.gx.GXTC
The TC object is used in gravitational modelling to create
a terrain correction grid from a topography grid. This is
accomplished with a call first to geosoft.gx.GXTC.grregter(), which determines
the terrain correction from an input topography grid, then
to geosoft.gx.GXTC.grterain(), which calculates the actual corrections at
the input positions.

More...

GXTEST class

class geosoft.gx.GXTEST
Used to place special testing methods

More...

GXTIN class

class geosoft.gx.GXTIN
The TIN class calculates the Delaunay triangulation of the
positions in a database. This is the "best" set of triangles
that can be formed from irregularly distributed points. The
serialized TIN files can be used for gridding using the
Tin-based Nearest Neighbour Algorithm, or for plotting the
Delaunay triangles or Voronoi cells to a map.

More...

GXTPAT class

class geosoft.gx.GXTPAT
The full name of the pattern.
ex: "felsic volcanics"
Code:          Short-form of the pattern description. This is the value
which typically appears (for instance) in the "Rock code"
channel in a Wholeplot From-To data group.
ex: "FVOL"
The code is CASE-SENSITIVE.

Label:         Text to use as a short-form in labels, graphs etc.
By default, this is the same as the code.
ex: "FVol."
Pattern Attributes:  (See DEFAULT.PAT in srcetc for more inforation)
Pattern:       The Pattern Index; defined in DEFAULT.PAT, or in the user's
USER.PAT file. If not specified, defaults to 0 (solid fill).
Size:          The pattern tile size. If not specified, defaults to 2.0mm.
Density:       The tiling density. If not specified, defaults to 1.0.
Thickness:     The line thickness in the tile, expressed as a integer
percentage (0-100) of the tile size.
Colour:        The pattern line work colour. If not specified, defaults to black.

Background colour: The pattern background colour. If not specified, defaults to
    transparent (C_ANY_NONE)


Symbols:

Symbol Font     The name of the symbol font to use for a given symbol index

Symbol Number   Index into the font.

Symbol Rotation: Rotation in degrees CCW.

Symbol Scaling  Additional scale factor to apply to symbol size (Default 1.0)

More...

GXTR class

class geosoft.gx.GXTR
The TR object contains trend information about a grid or
grid pager. Currently, it is used only in conjunction with
the geosoft.gx.GXIMG.get_tr(), geosoft.gx.GXIMG.set_tr(), and geosoft.gx.GXPGU.trend() functions.

More...

GXTRND class

class geosoft.gx.GXTRND
The TRND methods are used to determine trend directions in database data by locating
maxima and minima along lines and joining them in a specified direction.
The resulting trend lines are appended to the database and used by gridding methods
such as Bigrid and Rangrid to enforce features in the specified direction.

More...

GXUNC class

class geosoft.gx.GXUNC
This library is not a class. Use the UNC library functions
to work with Unicode characters and strings. Since version 6.2
all strings are represented internally in the the GX engine
as UTF-8. The character set concept was discarded as a way to
work with characters that does not fall within the normal
ASCII range 0x01-0x7F. The utilities here aids with any new
functionality that is now possible (e.g. an expanded symbol range
with TrueType fonts).

More...

GXUSERMETA class

class geosoft.gx.GXUSERMETA
The USERMETA class handles user style metadata tied to real
data.

More...

GXVA class

class geosoft.gx.GXVA
The VA class is the 2-Dimensional analogue to the VV class.
When displayed in a database, VA objects are displayed graphically
as profiles, one to a cell, and can also be displayed one column of
data at a time by specifying an index; e.g. CH[0]. A VA object is
declared with a fixed number of columns, which cannot be altered.
The number of rows, however can be changed, in the same way that
the length of a VV can be changed. Data can be added or extracted
using VVs, either by row or column.

A VA is used to store an array of data in which each element may have
multiple elements.  For example, 256-channel radiometric data can
be stored in a VA that is 256 elements wide.

More...

GXVAU class

class geosoft.gx.GXVAU
This is not a class. These are methods that work on
data stored in VA objects

More...

GXVM class

class geosoft.gx.GXVM
In-memory vector data methods
The VM class will store vector (array) data in a memory buffer which
can be accessed using the VM methods.
The main use for the VM class is to store data in a single physical
memory location.  This memory can then be accessed by a user DLL using
the geosoft.gx.GXGEO.get_ptr_vm() function defined in gx_extern.h.
VM memory can be any size, but a VM is intended for handling relatively
small sets of data compared to a VV, which can work efficiently with
very large volumes of data.  The acceptable maximum VM size depends on
the operating system and the performance requirements of an application.
The best performance is achieved when all VM memory can be stored
comfortably within the the available system RAM.  If all VM memory
will not fit in the system RAM, the operating system virtual memory
manager will be used to swap memory to the operations systems virtual
memory paging file.  Note that the operating system virtual memory
manager is much slower than the manager used by Geosoft when working with
very large arrays in a VV.

See VV for methods to move data between a VM and a VV.

More...

GXVOX class

class geosoft.gx.GXVOX
High Performance 3D Grid. Designed for accessing
3D grids quickly using slices. It designed arround
non-uniform multi-resolution  compressed storage.
o sample a voxel at specific locations, use the VOXE class.

More...

GXVOXD class

class geosoft.gx.GXVOXD
VOX Display object.

More...

GXVOXE class

class geosoft.gx.GXVOXE
VOX evaluator class. Used to sample values from
the voxel.

More...

GXVULCAN class

class geosoft.gx.GXVULCAN
The VULCAN class is used for importing Maptek® Vulcan block and triangulation files.

More...

GXVV class

class geosoft.gx.GXVV
The VV class stores very long vector (array) data (such
as channel data from an OASIS database) in memory and
performs specific actions on the data. This set of
functions is similar to the VM functions except that
you cannot access data directly and therefore you cannot
use a VV to pass data to an external (non-Geosoft)
Dynamic Link Library (DLL) object function.

If you want to pass data to a DLL, you must move a subset
of the data stored in memory to a small vector object and
then use the geosoft.gx.GXGEO.get_ptr_vm() function to pass a pointer to the
data on to the external function.

See VVU for more utility methods.

More...

GXVVEXP class

class geosoft.gx.GXVVEXP
The VVEXP class is similar to the IEXP class, but is used
to apply math expressions to VV objects.

More...

GXVVU class

class geosoft.gx.GXVVU
These methods are not a class. Utility methods perform
various operations on VV objects, including pruning,
splining, clipping and filtering.

More...

GXWA class

class geosoft.gx.GXWA
The WA class enables you to access and write data to ASCII files.

More...

Global Constants

version constant

gx.version = '8.5.1'

CRC_INIT_VALUE constant

gx.CRC_INIT_VALUE = 4294967295
Initial value for starting a CRC

DATE_FORMAT constants

Old Date formats
gx.DATE_FORMAT_YYYYMMDD = 1
Standard Date (YYYY/MM/DD, YY/MM/DD, YYYYMMDD or YYMMDD, space or / delimited)
gx.DATE_FORMAT_DDMMYYYY = 2
Date (DD/MM/YYYY or DD/MM/YY century 20 if YY>50, DISC compliant)
gx.DATE_FORMAT_MMDDYYYY = 3
Date (MM/DD/YYYY or MM/DD/YY century 19)

GEO_DUMMY constants

Special numbers indicating NULLL
gx.iDUMMY = -2147483647
Integer Dummy (-2147483647)
gx.rDUMMY = -1e+32
Floating Point Dummy (-1.0E32)

GEO_FULL_LIMITS constants

Data ranges of all Geosoft types
gx.GS_S1MX = 127
(signed char   )   127
gx.GS_S1MN = -126
(signed char   )  -126
gx.GS_S1DM = -127
(signed char   )  -127
gx.GS_U1MX = 254
(unsigned char )   254U
gx.GS_U1MN = 0
(unsigned char )   0U
gx.GS_U1DM = 255
(unsigned char )   255U
gx.GS_S2MX = 32767
(short         )   32767
gx.GS_S2MN = -32766
(short         )  -32766
gx.GS_S2DM = -32767
(short         )  -32767
gx.GS_U2MX = 65534
(unsigned short)   65534U
gx.GS_U2MN = 0
(unsigned short)   0U
gx.GS_U2DM = 65535
(unsigned short)   65535U
gx.GS_S4MX = 2147483647
2147483647L
gx.GS_S4MN = -2147483646
-2147483646L
gx.GS_S4DM = -2147483647
-2147483647L
gx.GS_U4MX = 4294967294
(unsigned long )   0xFFFFFFFE
gx.GS_U4MN = 0
(unsigned long )   0x00000000
gx.GS_U4DM = 4294967295
(unsigned long )   0xFFFFFFFF
gx.GS_S8MX = 9223372036854775807
(__GS_INT64    )   0x7FFFFFFFFFFFFFFF
gx.GS_S8MN = -9223372036854775807
(__GS_INT64    )   0x8000000000000001
gx.GS_S8DM = -9223372036854775808
(__GS_INT64    )   0x8000000000000000
gx.GS_U8MX = 18446744073709551614
(__GS_UINT64   )   0xFFFFFFFFFFFFFFFE
gx.GS_U8MN = 0
(__GS_UINT64   )   0x0000000000000000
gx.GS_U8DM = 18446744073709551615
(__GS_UINT64   )   0xFFFFFFFFFFFFFFFF
gx.GS_R4MX = 1.0000000331813535e+32
(float         )   1.0E32   (In C these must be declared as external constants:)
gx.GS_R4MN = -9.00000010520405e+31
(float         )  -0.9E32     const float r4min=(float)-0.9E32,
gx.GS_R4DM = -1.0000000331813535e+32
(float         )  -1.0E32                 r4max=(float)1.0E32,
r4dum=(float)-1.0E32;
gx.GS_R8MX = 1e+32
(double        )   1.0E32
gx.GS_R8MN = -9e+31
(double        )  -0.9E32
gx.GS_R8DM = -1e+32
(double        )  -1.0E32
gx.GS_R4EPSILON = 1.000000023742228e-32
(float         )   1.0E-32
gx.GS_R8EPSILON = 1e-32
(double        )   1.0E-32

GEO_LIMITS constants

Data ranges of numbers
gx.iMIN = -2147483646
Smallest Integer (-2147483646)
gx.iMAX = 2147483647
Largest Integer (2147483647)
gx.rMIN = -9e+31
Smallest Floating Point (-0.9E32)
gx.rMAX = 1e+32
Largest Floating Point (1.0E32)

GEO_STRING_SIZE constants

Default string sized for different uses
GX's must use these unless there is a
very good reason not to. The path strings
here are generally larger than what is possible
in the OS, but it is defined as such for Unicode
conversion reasons.
gx.STR_DEFAULT = 128
Default Size for almost everything (128 characters)
gx.STR_DEFAULT_SHORT = 64
Default Size for a short string (64 characters)
gx.STR_DEFAULT_LONG = 1024
Default Size for a long string (1024 characters)
gx.STR_ERROR = 2048
Default Size for an error string (2048 characters)
gx.STR_VERY_LONG = 16384
Default Size for a long string (16384 characters)
gx.STR_VIEW = 2080
Name of a View (2080)
gx.STR_GROUP = 1040
Name of a Group (1040)
gx.STR_VIEW_GROUP = 2080
Combined View/Group Name (2080)
gx.STR_FILE = 1040
Name of a file (1040)
gx.STR_MULTI_FILE = 16384
Name of multiple files (16384)
gx.STR_DB_SYMBOL = 64
Name of database symbol (64)
gx.STR_GXF = 160
Size of strings for GXF projection info (160).
gx.STR_MAX_PATH = 1040
Maximum path length (1040)
gx.STR_MULTI_PATH = 16384
Multi-file path (16384)
gx.GS_MAX_PATH = 1040
Same as STR_FILE
gx.GS_MULTI_PATH = 16384
Same as STR_MULTI_FILE

GEO_VAR constants

Variable types.
Use -X for strings of X length
gx.GS_INT = 0
Integer (long)
gx.GS_REAL = 1
Floating Point (double)

GS_FORMATS constants

Special use data types. String are indicated by a
negative maximum string length (including NULL).
gx.FORMAT_DECIMAL = 0
Standard numbers (-134.534)
gx.FORMAT_SIG_DIG = 5
Decimals imply number of significant digits
gx.FORMAT_EXP = 1
Exponential notation (-1.345e45)
gx.FORMAT_TIME_COLON = 2
Standard Time (HH:MM:SS.SSSS)
gx.FORMAT_TIME_HMS = 8
Time (HH.MMSSSSSSS)
gx.FORMAT_TIME_HHMMSS = 9
Time (HHMMSS)
gx.FORMAT_DATE_YYYYMMDD = 3
Standard Date (YYYY/MM/DD, YY/MM/DD, YYYYMMDD or YYMMDD, space or / delimited)
gx.FORMAT_DATE_DDMMYYYY = 6
Date (DD/MM/YYYY or DD/MM/YY century 20 if YY>50, DISC compliant)
gx.FORMAT_DATE_MMDDYYYY = 7
Date (MM/DD/YYYY or MM/DD/YY century 19)
gx.FORMAT_GEOGRAPHIC = 4
Standard Geographical (DEG.MM.SS.SSS)
gx.FORMAT_GEOGRAPHIC_1 = 10
GeoGraph (DEG:MM:SS.SSS)
gx.FORMAT_GEOGRAPHIC_2 = 11
GeoGraph (DEG.MMSSSSS)
gx.FORMAT_GEOGRAPHIC_3 = 12
GeoGraph (DEGMMmmmm or DEGMM.mmmm or DEG.MM.mmmm)  (mmmm: decimal minute)

GS_TYPES constants

Special use data types. String are indicated by a
negative maximum string length (including NULL).
gx.GS_BYTE = 0
Signed Byte
gx.GS_USHORT = 1
Unsigned Short
gx.GS_SHORT = 2
Signed Short
gx.GS_LONG = 3
Signed Long
gx.GS_FLOAT = 4
32-Bit floating point
gx.GS_DOUBLE = 5
64-Bit floating point
gx.GS_UBYTE = 6
Unsigned byte
gx.GS_ULONG = 7
Unsigned Long
gx.GS_LONG64 = 8
64-Bit signed long
gx.GS_ULONG64 = 9
64-Bit unsigned long
gx.GS_FLOAT3D = 10
3 x 32-Bit floating point
gx.GS_MAXTYPE = 10
Maximum supported type (GS_FLOAT3D)
gx.GS_TYPE_DEFAULT = -32767
Default. Can be used only when a method specifically allows a default type.

SYS_CRYPT_KEY constants

Special Encryption Keys
gx.SYS_CRYPT_LICENSE_KEY = '{***LICENSE_KEY***}'
Using the current license key
gx.SYS_CRYPT_COMPUTER_ID = '{***COMPUTER_ID***}'
Use the current computer ID
gx.SYS_CRYPT_GLOBAL_ID = '{***GLOBAL_COMPUTER_ID***}'
Use the non-changing computer ID

TIME_FORMAT constants

Old Time formats
gx.TIME_FORMAT_COLON = 1
Standard Time (HH:MM:SS.SSSS)
gx.TIME_FORMAT_HMS = 2
Time (HH.MMSSSSSSS)