    

 ## On this page

  

 

 # setValue

 Last update: 30.07.2026 

public [setValue](set-value.md)(value: [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html), index: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html))

set the value of the reference

#### Parameters

indexthe array element index (0-based index)valuethe new reference value#### Throws

[ModelCenterException](./../-model-center-exception/index.md)