fmeobjects.FMEMultiSolid.removeLastPart
- FMEMultiSolid.removeLastPart()
This removes and returns the last solid of the MultiSolid. If there are no solids in the MultiSolid, it will return
None.- Return type:
FMESolid or None
- Returns:
The last solid of the MultiSolid. Note: This method returns a terminal solid type of the
FMESolid; i.e. one of the leaf classes in theFMESolidinheritance graph. For example, aFMELineis returned if the solid truly is a line.- Raises:
FMEException – An exception is raised if an error occurred.