fmeobjects.FMEFeature.setSequencedAttribute

FMEFeature.setSequencedAttribute(attrName, attrValue)

Supply a new attribute for the feature, but in such a way that the sequence is remembered. This is needed for schema features, to preserve the order of attributes. For Python 2.7, strings can be input as one of two possible types: system encoded strings or unicode strings.

Parameters:
  • attrName (str) – The name of the attribute to set.
  • attrValue (six.string_types) – The new value for the attribute.
Return type:

None