Click or drag to resize
CSEMPLOTiEditFilter Method
Edit and create filter on channel values

Available since Oasis montaj version: 6.2
License: Available to specially licensed modules.  

Namespace: Geosoft.Desktop.GXNetX
Assembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntax
public static int iEditFilter(
	CGXNETCore gxNetShared,
	CDB db,
	string filter,
	string mask_ch,
	string mineral_ch,
	string mineral
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
db
Type: GeoEngine.Core.GXNetXCDB
Database handle
filter
Type: SystemString
Name of filter
mask_ch
Type: SystemString
Mask channel name
mineral_ch
Type: SystemString
Mineral channel name
mineral
Type: SystemString
Mineral to restrict filter to.

Return Value

Type: Int32
-1 - Cancel - Edits to filter discarded. 0 - Normal Return. Edits saved to filter file. 1 - Apply filter to current data only 2 - Remove filter - If removing filtered data, just restore the data to the Min/Pos data otherwise set the mask channel to 1. Re-entry code. If not <define>iDUMMY</define>, what to do inside the filter after going back in. Returned on exit, used on next input. 0 - Nothing. Don't need to go back into this function again. 1 - Edit the filter. Notes New and edited filters are stored in user\etc in files with the file extension ".semfilter" If a file for the specified filter does not exist, then a new filter by that name will be created.
See Also