fmeobjects.FMEMultiArea.removeLastPart

FMEMultiArea.removeLastPart()

This removes and returns the last area of the MultiArea. If there are no areas in the MultiArea, it will return None.

Return type:

FMEArea or None

Returns:

The last area of the MultiArea. Note: This method returns a terminal area type of the FMEArea; i.e. one of the leaf classes in the FMEArea inheritance graph. For example, a FMEPolygon is returned if the area truly is a polygon.

Raises:

FMEException – An exception is raised if an error occurred.