All Cadcorp SIS API Methods

CreateThiessen Method

Description

Creates Thiessen Polygon Items from the origins of the Items in a Named List. If a Group is open, then graphics are added to the Group, otherwise a new Item is created.

Syntax

Visual Basic
Public Function CreateThiessen( _
   ByVal listOutput As String, _
   ByVal list As String, _
   ByVal bClipToCurItem As Integer _
) As Integer

Parameters

listOutput
The Named List which will contain the Thiessen Polygon Items.
 
list
A Named List containing the Items whose origins will be used to create the Thiessen Polygon Items.
 
bClipToCurItem
True Clip the Thiessen areas using the current open Item (which must be an Area or a Polygon).
False Do not clip the Thiessen areas.

Remarks

The listOutput argument may be the same as the list argument in order to re-use the existing Named List.

Available: GEO OD SISpy

Group:

Example

sis.CreateThiessen ("Areas", "OrigAreas", True)