fmeobjects.FMEPalette.getValuesFromKeys

FMEPalette.getValuesFromKeys(keys)

Returns resolved values from the keys parameter.

This method allow multiple key-to-value lookups.

The input keys tile must be the same interpretation as the palette keys.

Parameters:

keys (FMETile) – Input key tile. It must be the same interpretation as the palette keys.

Return type:

FMETile

Returns:

Values associated with keys. If specified key is not found in the palette, the value will be set to 0.

Raises:

FMEException – An exception is raised if an error occurred.