This function returns the number of levels in a point.

Examples


In this example, we retrieve the number of levels in the 2nd point defined previously:

nlevels = EOS_PT_NLEVELS(pointID2)

Syntax


Result = EOS_PT_NLEVELS(pointID)

Return Value


Returns number of levels if successful and FAIL (–1) otherwise.

Arguments


pointID

Point id (long) returned by EOS_PT_CREATE or EOS_PT_ATTACH.

Keywords


None

Version History


5.2

Introduced