Cadcorp SIS API Methods

GetFeatureTableBranches Method

Description

Gets the feature codes branching from a parent feature code in the currently loaded Feature Table. Use LoadFeatureTable to load a Feature Table for editing.

Syntax

Visual Basic
Public Function GetFeatureTableBranches( _
   ByVal fcode As Long, _
   ByVal bCascade As Integer _
) As String

Parameters

fcode
The feature code whose children are to be queried, from 0 to 65535. Use 0 to query the top-level feature codes.
 
bCascade
True    Get all of the feature codes in the hierarchy below the given feature code.
False Only get the feature codes directly below the given feature code.

Return Type

A space-separated string of the following format: "nCodes code1 code2 ... codeN". The method returns "0" if there are no feature table branches.

Remarks

Available: GEO ME MD OD SISpy

Groups:

Example

sis.GetFeatureTableBranches (1032, True)

Returns all the child feature codes of the code 1032.


Send comments on this topic.

Click to return to www.cadcorp.com

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