This function returns number type and number of elements (count) of a point attribute.

Examples


In this example, we return information about the ScalarFloat attribute:

status = EOS_PT_ATTRINFO(pointID, "ScalarFloat", nt, count)

Syntax


Result = EOS_PT_ATTRINFO( pointID, attrname, numbertype, count)

Return Value


Returns SUCCEED (0) if successful and FAIL (–1) otherwise.

Arguments


pointID

Point id (long) returned by EOS_PT_CREATE or EOS_PT_ATTACH.

attrname

Attribute name (string).

numbertype

A named variable that will contain the HDF type of the attribute value (long).

count

A named variable that will contain the number of total bytes in attribute (long).

Keywords


None

Version History


5.2

Introduced