fmeobjects.FMEMultiCurve.removeLastPart
- FMEMultiCurve.removeLastPart()
This removes and returns the last curve of the MultiCurve. If there are no curves in the MultiCurve, it will return
None
.- Return type:
FMECurve or None
- Returns:
The last curve of the MultiCurve. Note: This method returns a terminal curve type of the
FMECurve
; i.e. one of the leaf classes in theFMECurve
inheritance graph. For example, aFMELine
is returned if the curve truly is a line.- Raises:
FMEException – An exception is raised if an error occurred.