Click or drag to resize
CPROJiListTools Method
Fills an LST object with tools of a certain type and notes the current visibility setting.

Available since Oasis montaj version: 5.0
Limitations: May not be available if running outside of a Oasis Montaj or from a command line program.  
License: Available to anyone.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
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).
Syntax
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.
See Also