GetLabelType

<< Click to Display Table of Contents >>

Navigation:  Flexcom > Theory > Postprocessing > Custom Postprocessing > Excel Add-in > Label Functions >

GetLabelType

Previous pageNext page

Purpose

This function retrieves the type, whether node or element, of a descriptive label based on a specified label index.

Syntax

GetLabelType (string DatabaseName, int LabelIndex)

Parameters

DatabaseName (character string). The full path name to the relevant database.

LabelIndex (integer). The relevant node/element label index.

Return Value

1 (for a node)

2 (for an element)

Error Codes

-9999998 (if the specified database is invalid)

-9999999 (if the specified index is out of range)