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 theFMESurfaceinheritance graph. For example, aFMELineis returned if the surface truly is a line.Raises: FMEException – An exception is raised if an error occurred.