All Cadcorp SIS API Methods

CombineLists Method

Description

Combines two Named Lists  using a Boolean operation, returning the answer in a third Named List.

Syntax

Visual Basic
Public Function CombineLists( _
   ByVal listOutput As String, _
   ByVal list1 As String, _
   ByVal list2 As String, _
   ByVal mode As Integer _
) As Integer

Parameters

listOutput
The Named List resulting from the Boolean operation.
list1
The first Named List to combine.
list2
The second Named List to combine.
mode

The Boolean operation to use:

SIS_BOOLEAN_AND    Add Items which are in both list1 and list2.
SIS_BOOLEAN_OR   Add Items which are in list1 or list2.
SIS_BOOLEAN_XOR Add Items in which are in list1 or list2, but not in both.
SIS_BOOLEAN_DIFF Add Items in which are in list1 but not in list2.

Remarks

The listOutput argument may be the same as eitherlist1 or list2 in order to re-use an existing Named List.

Available: GEO D OD OM SISpy

Group:

Example

sis.CombineLists ("Combination", "Buildings", "Gardens", SIS_BOOLEAN_AND)