Click or drag to resize
CVVUiFindDummy Method
Find the first dummy|non-dummy value in VV

Available since Oasis montaj version: 5.0
License: Available to anyone with an Oasis Montaj license.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Notes
Start and end of range are always defined lowest to largest even if decreasing search order. To search entire VV range, specify 0,-1.
Syntax
public static int iFindDummy(
	CGXNETCore gxNetShared,
	CVV vv,
	int dir,
	int type,
	int start,
	int end
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
vv
Type: GeoEngine.Core.GXNetXCVV
VV handle
dir
Type: SystemInt32
0 increasing order 1 decreasing order
type
Type: SystemInt32
0 to find the first dummy 1 find first non-dummy
start
Type: SystemInt32
Start search range at element
end
Type: SystemInt32
End search range at element (-1 for last)

Return Value

Type: Int32
The index of the first dummy|non-dummy value in VV -1 if not found or if length of VV is 0
See Also