fmeobjects.FMEPalette.setValuesFromKeys

FMEPalette.setValuesFromKeys(keys, values)

Sets value associated with the key of the palette. This method can set multiple values at once.

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

The size of the keys must be the same as the size of the values.

Parameters:
Return type:

None

Raises:

FMEException

An exception is raised:

  • if an error occurred.

  • if some of the keys do not exist.