All Cadcorp SIS API Methods

SetListInt Method

Description

Set the value of an integer property on the Items in a Named List

Syntax

Visual Basic
Public Function SetListInt( _
   ByVal list As String, _
   ByVal propertyName As String, _
   ByVal value As Long _
) As Integer

Parameters

list
The Named List containing the Items whose property is to be set.
 
propertyName
The name of the property. All integer properties end in '&'.
 
value
The new integer value of the property.

Remarks

If no property exists of the name propertyName, and propertyName does not start with the "_" character (underscore) then a user-defined attribute will be created, with the name propertyName, and the value value.

Available: GEO D OD OM SISpy

Groups:

Example

sis.SetListInt ("Points", "TYP&", 10)