All Cadcorp SIS API Methods

ChangeFeatureFilter Method

Description

Include or exclude a feature code from a named Feature Filter.

Syntax

Visual Basic
Public Function ChangeFeatureFilter( _
   ByVal filter As String, _
   ByVal fcode As Long, _
   ByVal flag As Integer _
) As Integer

Parameters

filter
The named Feature Filter to edit, previously created using CreateFeatureFilter.
 
fcode
The feature code whose information is to be changed, from 0 to 65535. Use 0 to specify all feature codes in the Feature Filter.
 
flag
SIS_FEATUREEXCLUDE    Exclude from filter.
SIS_FEATUREINCLUDE    Include in filter.
 
Each of these flags may have the modifier SIS_FEATURECASCADE added to them in order to apply the flag to all of the children of the specified feature code.

Remarks

Available: GEO D OD OM OV SISpy

Groups:

Example

sis.ChangeFeatureFilter ("LandLine", 1, SIS_FEATUREEXCLUDE)

excludes the feature 1 from the filter LandLine