Skip to main content

ModelCenter APIs 2026 R1 SP03

setVariableValues

Last update: 30.07.2026

public setVariableValues(index: String, run: Long, values: Array<Any>, valid: Boolean, modified: Boolean)

sets all values of a variable as a chunk

Parameters

index variable name or index
run starting run id
values values to set
valid validity flag of the value
modified modify flag of the value

Throws

ModelCenterException

public setVariableValues(index: Int, run: Long, values: Array<Any>, valid: Boolean, modified: Boolean)

sets all values of a variable as a chunk

Parameters

index (0-based index)
run starting run id
values values to set
valid validity flag of the value
modified modify flag of the value

Throws

ModelCenterException

Connect with Ansys