Name

attributeid — Return a reference to an attribute definition that has the matching id value.

Syntax

attributeid(id)
              

The ATTRIBUTEID function has the following argument:

id

The id value for the attribute definition of interest.

Description

Access and execute an attribute element with the matching id value. It does not matter where the attribute element being looked up is defined, the expression or curve data will be retrieved.

This function only operates in the context of the Matrix Builder.

If the attribute id has not been defined then an undefined attribute exception will occur. If the 'ignoremissing' condition has been set to true then the function will return a zero value curve. Otherwise, an error condition will be raised and the Matrix Builder will terminate.

Examples

Formula

Description

Result

attributeid(AU+'.Yield.'+SPP)

Look up the attribute element with the id of AU+'.Yield.'+SPP, for whatever the value of AU and SPP is for the stand being processed.Curve