This function returns the level index for a given level specified by name.

Examples


In this example, we return the level index of the Observations level in the multilevel point structure defined in EOS_PT_DEFLEVEL:

levindx = EOS_PT_LEVELINDEX(pointID2, "Observations")

Syntax


Result = EOS_PT_LEVELINDX( pointID, levelname)

Return Value


Returns the level index if successful and FAIL (–1) otherwise.

Arguments


pointID

Point id (long) returned by EOS_PT_CREATE or EOS_PT_ATTACH.

levelname

Level Name (string).

Keywords


None

Version History


5.2

Introduced