![](../icons/Help.png) | 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.GXNetXAssembly: 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).
Syntaxpublic static int iListTools(
CGXNETCore gxNetShared,
CLST lst,
int type
)
Public Shared Function iListTools (
gxNetShared As CGXNETCore,
lst As CLST,
type As Integer
) As Integer
public:
static int iListTools(
CGXNETCore^ gxNetShared,
CLST^ lst,
int type
)
static member iListTools :
gxNetShared : CGXNETCore *
lst : CLST *
type : int -> int
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:
Int32The number of tools found.
See Also