Cadcorp SIS API Methods

CreateGroupFromItems Method

Description

Creates a Group item from the items in a Named List, optionally deleting the items in the Named List.

The current axes will be used as the origin.

Syntax

Visual Basic
Public Function CreateGroupFromItems( _
   ByVal list As String, _
   ByVal bDelete As Integer, _
   ByVal groupType As String _
) As Integer

Parameters

list
The Named List containing the items to be grouped.
 
bDelete
True Delete the items after grouping
False Leave the existing items behind
 
groupType
The type, or class, of group to create; the group class having been registered using RegisterGroupType.

Remarks

Available: GEO MD MM ME OD OM SISpy

Group:

Example

sis.CreateGroupFromItems ("StationList", True, "Station")

Creates a group made up from the items in the list StationList. These items are then deleted.


Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).