fmeobjects.FMECompositeSurface.removeEndPart

FMECompositeSurface.removeEndPart()

This removes and returns the last surface of the composite surface. If there are no surfaces in the composite surface, it will return None.

Return type:

FMESurface or None

Returns:

The last surface of the composite surface. Note: This method returns a terminal surface type of the FMESurface; i.e. one of the leaf classes in the FMESurface inheritance graph. For example, a FMEMesh is returned if the area truly is a mesh.

Raises:

FMEException – An exception is raised if an error occurred.