setAttributeValue

fun setAttributeValue(attributeName: String, attributeValue: Any?)

Sets the value of an existing attribute. Object type must match the type of the attribute.

Since

200.6.0

Parameters

attributeName

The name of the attribute to update.

attributeValue

The value to be set on the attribute.

Throws

The name of the attribute to be modified must exist in KmlSchemaData.attributes. The object type must match the type of the attribute. All elements in an array object must be of the same type as the attribute.