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