Click or drag to resize

CDUTableLook1 Method

Create a new channel using a single reference table

Namespace:  Geosoft.Desktop.GXNet
Assembly:  geosoft.desktop.gxnet (in geosoft.desktop.gxnet.dll) Version: 2024.2.0.25
Syntax
public static void TableLook1(
	CDB db,
	int line,
	int i_ch,
	int o_ch,
	string ref_field,
	string l_field,
	int mode,
	double close,
	CTB tb
)

public static void TableLook1(
	CDB db,
	int line,
	int i_ch,
	int o_ch,
	string ref_field,
	string l_field,
	int mode,
	double close,
	CTB tb
)

Parameters

db
Type: GeoEngine.Core.GXNetCDB
Database
line
Type: SystemInt32
Line Handle
i_ch
Type: SystemInt32
Lookup reference channel [<define>DB_LOCK_READONLY</define>]
o_ch
Type: SystemInt32
Output Channel Token [<define>DB_LOCK_READWRITE</define>]
ref_field
Type: SystemString
Reference field name in table
l_field
Type: SystemString
Lookup output name in table
mode
Type: SystemInt32
<define>DU_LOOKUP</define>
close
Type: SystemDouble
CLOSE lookup distance. If 0.0, distance is calculated from lookup reference channel.
tb
Type: GeoEngine.Core.GXNetCTB
TB table Object
Remarks
Fails if table does not contain requested fields. The nominal data sample spacing for the CLOSE options is calculated by finding the fiducial increment the - primary index channel for Lookup1C_DU; - secondary index channel for Lookup2C_DU, LookupIValC_DU and LookupRValC_DU
See Also