Click or drag to resize

CDHiIsADrillholeProjectDatabase Method

Is the database part of a drill project, with collar table etc.?

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.2.0.42
Syntax
public static int iIsADrillholeProjectDatabase(
	CGXNETCore gxNetShared,
	CDB database
)

public static int iIsADrillholeProjectDatabase(
	CGXNETCore gxNetShared,
	CDB database
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
database
Type: GeoEngine.Core.GXNetXCDB
database to test

Return Value

Type: Int32
0 - if No 1 - if Yes
Remarks
This function checks if the input database has the collar table. It then opens a DH object with the collar table and, if the database has been added as a survey or assay database, it checks to see if any of the database lines are hole names.
See Also