All Cadcorp SIS API Methods

SetListStr Method

Description

Set the value of a floating point property on the Items in a Named List

Syntax

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

Parameters

list
The Named List containing the Items whose property is to be set.
 
propertyName
The name of the property. All string properties end in '$'.
 
value
The new string 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.SetListStr ("Points", "Category$", "RTA")