GXACQUIRE class¶
-
class
geosoft.gx.
GXACQUIRE
¶ This class is used to import Acquire data. It uses the public Acquire API.
-
static
create
((GXContext)ctx) → GXACQUIRE:¶ Create a ACQUIRE object
Parameters: ctx ( geosoft.gx.GXContext
) – The GX execution contextReturns: ACQUIRE Object Return type: geosoft.gx.GXACQUIRE
New in version 6.0.0.
-
delete_empty_chan
((GXDB)arg1) → None:¶ Delete empty channels
Parameters: arg1 ( geosoft.gx.GXDB
) – DatabaseReturns: Nothing Return type: None New in version 6.0.0.
-
import_hole
((str)arg1, (str)arg2, (str)arg3, (GXVV)arg4, (int)arg5, (int)arg6) → int:¶ Import Drillhole data acQuire database into a GDB
Parameters: - arg1 (str) – project name
- arg2 (str) – project directory
- arg3 (str) – Parameter File
- arg4 (
geosoft.gx.GXVV
) – list of geology name database - arg5 (int) – 0: Write to existing databases (overwrite holes), 1: Delete existing databases.
- arg6 (int) – Convert Negatives (0,1)
Returns: 0 - Ok 1 - Error (Will not stop GX)
Return type: int
New in version 6.0.1.
Note:
Point data and polygon data are saved into D### lines in GDB, ### representing incremental number starting from 0
-
import_point
((GXDB)arg1, (str)arg2, (int)arg3) → int:¶ Import Point Sample data acQuire database into a GDB
Parameters: - arg1 (
geosoft.gx.GXDB
) – Geosoft GDB - arg2 (str) – Parameter File
- arg3 (int) – Convert Negatives (0,1)
Returns: 0 - Ok 1 - Error (Will not stop GX)
Return type: int
New in version 6.0.1.
Note:
Data existing in the receiving GDB file will be over-written. Point data and polygon data are saved into D### lines in GDB, ### representing incremental number starting from 0
- arg1 (
-
is_null
() → bool¶ Check if the instance of
geosoft.gx.GXACQUIRE is null (undefined)
Returns: True if this is a null instance of geosoft.gx.GXACQUIRE
, False otherwise.Return type: bool`
-
static
null
() → GXACQUIRE¶ A null (undefined) instance of
geosoft.gx.GXACQUIRE
Returns: A null geosoft.gx.GXACQUIRE
Return type: geosoft.gx.GXACQUIRE
-
selection_tool
((str)arg1, (int)arg2) → int:¶ Run the Acquire Selection Tool.
Parameters: - arg1 (str) – Selection File Name
- arg2 (int) – ACQUIRE_SEL constants
Returns: 0 - Ok 1 - if user cancels
Return type: int
New in version 6.0.1.
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.
-
static