Table of Contents

Get Lookup Table Value

Description

This functor retrieves a value from a lookup table at a specified key.

Inputs

Name Type Description
Lookup table Lookup table Type Any lookup table.
Key Real Value Type Row key.

Optional Inputs

Name Type Description Default Value
Value If Not Found Real Value Type Value returned in case the key is not found. None

Outputs

Name Type Description
Value Real Value Type The value corresponding to the given key.

Group

Table

Notes

This searches for a value associated with a given key. If an exact match is not found, the result will depend on how the input port “Value If Not Found” is defined. If a default value is defined by this port, that value will be returned. Otherwise, the execution will an error and the model execution will be interrupted.

It is also possible to search for an approximate match using a Calculate Value, Calculate Map, Calculate Categorical Map or Calculate Lookup Table. See the “Lookup Table Operators” description on the Image Expression Type documentation.

Internal Name

GetLookupTableValue