fmeobjects.FMEAggregate.removeLastPart
- FMEAggregate.removeLastPart()
This removes and returns the last geometry of the aggregate. If there are no geometries in the aggregate, it will return
None. Calling this method will implicitly apply and clear any matrix associated with this aggregate.- Return type:
FMEGeometry or None
- Returns:
The last geometry of the aggregate. Note: This method returns a terminal geometry type of the
FMEGeometry; i.e. one of the leaf classes in theFMEGeometryinheritance graph. For example, aFMEPointis returned if the geometry truly is a point.- Raises:
FMEException – An exception is raised if an error occurred.