fmeobjects.FMEMultiCurve.getPartAt

FMEMultiCurve.getPartAt(index)

This method returns the curve at the given index. None is returned if the index is out of range.

Parameters:index (int) – The index of the curve part to return.
Return type:FMECurve or None
Returns:The curve at the given index. Note: This method returns a terminal curve type of the FMECurve; i.e. one of the leaf classes in the FMECurve inheritance graph. For example, a FMELine is returned if the curve truly is a line.
Raises:FMEException – An exception is raised if an error occurred.