fmeobjects.FMETriangleFan.setMeasureAt

FMETriangleFan.setMeasureAt(index, measureValue, measureName)

Set the default measure of the point at ‘index’ to the given ‘measureValue’. If ‘measureName’ is supplied, this method sets the given measure of the point at ‘index’ to ‘measureValue’. Creates the measure if it doesn’t already exist and set the measures to all points other than the point at the given index to None. Return an error if the index is out of range.

Parameters:
  • index (int) – The index of the measure to set.

  • measureValue (float) – The value of the measure.

  • measureName (str) – (Optional) The name of the measure whose value is to be set, or created.

Return type:

None

Raises:

FMEException – An exception is raised if an error occurred.