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
-
TrueGet all of the feature codes in the hierarchy below the given feature code. FalseOnly 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 OD SISpy
Groups:
Example
sis.GetFeatureTableBranches (1032, True)
Returns all the child feature codes of the code 1032.