fmeobjects.FMETriangleStrip.getTrait¶
-
FMETriangleStrip.
getTrait
(traitName)¶ Retrieves the geometry trait value of the specified trait name. For Python 2.7, strings are returned as one of two possible types - system encoded strings or unicode strings, if the source trait was encoded. 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.Parameters: traitName (str) – The name of the geometry trait. Return type: bool, int, long, float, six.string_types, bytearray, bytes or None Returns: The trait value. Raises: FMEException – An exception is raised if there was a problem in retrieving the trait value.