Retrieves the geometry trait value of the specified trait name. Null trait values will be returned as an empty string. Binary blob traits are returned as a bytearray.
None is returned when the trait is not found on the geometry.
None
traitName (str) – The name of the geometry trait.
bool, int, float, str, bytearray, bytes or None
The trait value.
FMEException – An exception is raised if there was a problem in retrieving the trait value.