Drillhole Import - ASCII /XLS /Database /ODBC Connection
To import data into a new drillhole project, use the following GXs:
-
DHIMPASC GX to import ASCII files
-
DHIMPDB GX to import XLS or Database files
-
DHIMPODBC GX to import data from an ODBC source
Each of these GXs will call the DHIMPORT GX.
Drill Hole - ASCII Import /Import XLS/Database /ODBC Database dialog options
File to import |
Specify the name of the file to import or use the browse button to select the file from your working directory. Script Parameter: DHIMPORT.FILE |
Import mode |
Select from one of the following options: Overwrite: Start from scratch; if the database exists, it is first deleted. Append/Merge: The existing database is preserved. If the import data contains a hole that did not previously exist in the database, the hole is added. If data is imported into a hole that already exists in the database, the following process is followed:
Script Parameter: DHIMPORT.OVERWRITE |
[Wizard] |
Click the Wizard button to run the specific import wizard. This wizard creates an import template, which is used to import the data, and guides you through the import process. The template name uses the file name with the extension ".i3" for ASCII imports or ".i4" for XLS/Database imports. For example, importing "collars.csv" creates the template "collars.i3". For ODBC imports, the template name is created using the imported table name, e.g., "HOLELOCATION.i4". Once the import is completed, the data is automatically displayed in the active database, in the spreadsheet window. |
[Reconnect] |
Click Reconnect to run the ODBC connection dialog before the import wizard to establish or re-establish the connection with the ODBC database. See the Application Notes below for more details on ODBC drivers. |
[Template] |
Click the Template button to use a pre-existing template for importing your data. This is particularly useful for re-importing data or importing new data with the same formatting. The Import Using Template(s) dialog will then open. For more details on templates, refer to the following topics: |
Import Using Template(s) dialog
Template(s) |
If a template matching the input file is found, it will be used as the default template name with the appropriate extension, either ".i3" or ".i4". Click the browse button to locate and select a pre-existing template for importing data. If multiple templates are specified, the import will proceed on each template in turn, with the collar table (if present) processed first. Script Parameter: DHIMPASC.TEMPLATE, DHIMPDB.TEMPLATE or DHIMPODBC.TEMPLATE |
Specify Missing Information
Starting from version 6.0, import templates created by the various import wizards include both the data source and the type of data (Collar, Survey, From-To, Point), eliminating the need to specify these values. If the specified import template was created before version 6.0, an additional dialog will appear (see below) to gather the missing information. Any pre-specified values will be displayed and do not need to be changed.
Application Notes
The DHIMPORT GX can be recorded in a script. If no import template exists, use the wizard to produce the required template, which will then be available when the script is run. Use the DHREFRESH GX to refresh drillhole project data in one step by re-importing the data for all the databases.
ODBC Database Connection
-
Microsoft dBase Driver (*.dbf)
-
Microsoft Visual FoxPro Driver
See Also:
- Drillhole Import Wizard - Select Data Type
- ASCII Data Import Wizard - Step 1 of 3
- ASCII Data Import Wizard - Step 2 of 3 (Fixed Field)
- ASCII Data Import Wizard - Step 2 of 3 (Delimited)
- Drillhole Import Wizard - Specify Parameters
- Drillhole Import Wizard - Define Data
- Drillhole Import – Collar - XLS/MS Access Database/ODBC
- Drillhole Import – Survey – XLS/MS Access Database/ODBC
- Drillhole Import – From-To – XLS/MS Access Database/ODBC
- Drillhole Import – Point – XLS/MS Access Database/ODBC
- Import Drillhole Data
Got a question? Visit the Seequent forums or Seequent support
Copyright (c) 2025 Bentley Systems, Incorporated. All rights reserved.
Privacy | Terms of Use