setAttributeValue

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

Sets the value of an existing attribute. Object type must match the type of the attribute. Use String for untyped attributes.

Since

200.6.0

Parameters

attributeName

The name of the attribute to update.

attributeValue

The value to set for the attribute.

Throws

The name of the attribute to modify must exist in KmlNonSchemaData.attributes. The object data type must be the same type stored with the attribute.