CreateLocusFromItem Method
Description
Creates a named Spatial Filter in a Named Object Library from the current open Item, replacing any existing Spatial Filter with the same name.
Syntax
| Visual Basic |
|---|
Public Function CreateLocusFromItem( _ ByVal locus As String, _ ByVal geomTest As Integer, _ ByVal geomMode As Integer _ ) As Integer |
Parameters
- locus
- The named Spatial Filter to create, or replace.
- geomTest
- The geometry test to use. See Geometry Tests
for details.SIS_GT_EQUALSIS_GT_DISJOINTSIS_GT_INTERSECTSIS_GT_TOUCHSIS_GT_CROSSSIS_GT_CROSSBYSIS_GT_WITHINSIS_GT_CONTAINSIS_GT_OVERLAP - geomMode
- The geometry mode to use. See Geometry Tests for details.
SIS_GM_ORIGINitems whose origin (always a single point) must pass the testing method with the selected item SIS_GM_EXTENTS items whose extents (always a rectangle) must pass the testing method with the selected item SIS_GM_GEOMETRY items whose geometry must pass the testing method with the selected item
Remarks
Available: GEO D OM OD SISpy
Group:
Example
sis.CreateLocusFromItem "Scheme20", SIS_GT_CONTAIN, SIS_GM_GEOMETRY