GetLabelTypeForLabel

<< Click to Display Table of Contents >>

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

GetLabelTypeForLabel

Previous pageNext page

Purpose

This function retrieves the type, whether node or element, of a descriptive label.

Syntax

GetLabelTypeForLabel (string DatabaseName, string Label)

Parameters

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

Label (string). The relevant node/element label.

Return Value

1 (for a node)

2 (for an element)

Error Codes

-9999998 (if the specified database is invalid)

-9999999 (if the specified label cannot be found)