Click or drag to resize

CPROJiListTools Method

Fills an LST object with tools of a certain type and notes the current visibility setting.

Namespace:  Geosoft.Desktop.GXNetX
Assembly:  geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll) Version: 2025.1.0.25
Syntax
public static int iListTools(
	CGXNETCore gxNetShared,
	CLST lst,
	int type
)

public static int iListTools(
	CGXNETCore gxNetShared,
	CLST lst,
	int type
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
lst
Type: GeoEngine.Core.GXNetXCLST
LST object to hold list
type
Type: SystemInt32
<define>TOOL_TYPE</define>

Return Value

Type: Int32
The number of tools found.
Remarks
GX will terminate if there is an error. LST object will hold the tool name in the name column and include whether the tool is currently visible in the value column (1=visible, 0-hidden).
See Also