All Cadcorp SIS API Methods

CreateBufferLocusFromItems Method

Description

Creates a named buffer Spatial Filter in Named Object Library surrounding Items in a Named List, replacing any existing Spatial Filter with the same name.

Syntax

Visual Basic
Public Function CreateBufferLocusFromItems( _
   ByVal list As String, _
   ByVal bDelete As Integer, _
   ByVal locus As String, _
   ByVal radius As Double, _
   ByVal resolution As Double _
) As Integer

Parameters

list
The Named List containing the items around which the Spatial Filter will be created.
 
bDelete
True Delete the items after Spatial Filter creation.
False Leave the existing items behind.
 
locus
The named Spatial Filter to create, or replace.
 
radius
The buffer radius around each Item in the Named List.
 
resolution
The resolution of the Spatial Filter. Use 0.0 for a smooth Polygon Spatial Filter, or a positive number for a QZone Spatial Filter.

Remarks

Available: GEO  OD SISpy

Group:

Example

sis.CreateBufferLocusFromItems ("Conserv", False, "Conserv", 100, 1)