    

 ## On this page

  

 

 # setReference

 Last update: 30.07.2026 

public [setReference](set-reference.md)(reference: [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html), index: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html))

sets the reference equation

#### Parameters

referencethe reference equationindexthe array element index (0-based index)#### Throws

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