![](../icons/Help.png) | 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.GXNetXAssembly: geosoft.desktop.gxnetx (in geosoft.desktop.gxnetx.dll)
Syntaxpublic static int iEditFilter(
CGXNETCore gxNetShared,
CDB db,
string filter,
string mask_ch,
string mineral_ch,
string mineral
)
Public Shared Function iEditFilter (
gxNetShared As CGXNETCore,
db As CDB,
filter As String,
mask_ch As String,
mineral_ch As String,
mineral As String
) As Integer
public:
static int iEditFilter(
CGXNETCore^ gxNetShared,
CDB^ db,
String^ filter,
String^ mask_ch,
String^ mineral_ch,
String^ mineral
)
static member iEditFilter :
gxNetShared : CGXNETCore *
db : CDB *
filter : string *
mask_ch : string *
mineral_ch : string *
mineral : string -> int
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