GXACQUIRE class¶
-
class
GXACQUIRE
(handle=0)¶ GXACQUIRE class.
This class is used to import acQuire data. It uses the public acQuire API.
-
classmethod
create
()¶ Create an acQuire object
Returns: acQuire Object Return type: GXACQUIRE New in version 6.0.
License: Geosoft End-User License
-
delete_empty_chan
(db)¶ Delete empty channels
Parameters: db (GXDB) – Database New in version 6.0.
License: Geosoft End-User License
-
import_hole
(proj, dir, para, geo_vv, delete, convert)¶ Import Drillhole data acQuire database into a GDB
Parameters: - proj (str) – Project name
- dir (str) – Project directory
- para (str) – Parameter File
- geo_vv (GXVV) – List of geology name database
- delete (int) – 0: Write to existing databases (overwrite holes), 1: Delete existing databases.
- convert (int) – Convert Negatives (0,1)
Returns: 0 - Ok 1 - Error (Will not stop GX)
Return type: int
New in version 6.0.1.
License: Geosoft End-User License
Note: Point data and polygon data are saved into Dnnn lines in GDB, nnn representing incremental number starting from 0
-
import_point
(db, para, convert)¶ Import Point Sample data acQuire database into a GDB
Parameters: - db (GXDB) – Geosoft GDB
- para (str) – Parameter File
- convert (int) – Convert Negatives (0,1)
Returns: 0 - Ok 1 - Error (Will not stop GX)
Return type: int
New in version 6.0.1.
License: Geosoft End-User License
Note: Data existing in the receiving GDB file will be over-written. Point data and polygon data are saved into Dnnn lines in GDB, nnn representing incremental number starting from 0
-
is_null
()¶ Check if this is a null (undefined) instance
Returns: True if this is a null (undefined) instance, False otherwise. Return type: bool
-
classmethod
null
()¶ A null (undefined) instance of
GXACQUIRE
Returns: A null GXACQUIRE
Return type: GXACQUIRE
-
selection_tool
(selection_file, mode)¶ Run the acQuire Selection Tool.
Parameters: - selection_file (str) – Selection File Name
- mode (int) – ACQUIRE_SEL constants
Returns: 0 - Ok 1 - if user cancels
Return type: int
New in version 6.0.1.
License: Geosoft End-User License
Note: The selection file will be loaded (if present) and then the user can make selections then the selections are saved back in the selection file.
-
classmethod