fmeobjects.FMEGeometryTools.extractTextLocation

FMEGeometryTools.extractTextLocation(text)

This routine consumes the text passed in and returns the IFMEGeometry that was its location.

Parameters:

text (FMEText) – The text whose location to extract.

Return type:

FMEGeometry

Returns:

The geometry at the text’s location. Note: This method returns a terminal geometry type of the FMEGeometry; i.e. one of the leaf classes in the FMEGeometry inheritance graph. For example, a FMELine is returned if the geometry truly is a line.

Raises:

FMEException – An exception is raised if an error occurred.