Cadcorp SIS API Methods

GetListItemFlt Method

Description

Gets the value of a floating point property on an item in a Named List.

Syntax

Visual Basic
Public Function GetListItemFlt( _
   ByVal list As String, _
   ByVal n As Long, _
   ByVal propertyName As String _
) As Double

Parameters

list
The Named List to query.
 
n
The index of the item in the Named List.
 
propertyName
The name of the property. All floating point properties end in '#'.

Return Type

The floating point value of the given property, for the given item in the given Named List.

Remarks

Available: GEO MM ME MD OD OM SISpy

Group:

Example

Area = sis.GetListItemFlt ("Zones", 6, "_area#")

Retrieves the area in square metres of item 6 in the Zones named list.

Named list indices run from zero to one less than the size of list, so this example accesses the seventh item in the list.


Send comments on this topic.

Click to return to www.cadcorp.com

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