Skip to main content

ModelCenter APIs 2025 R1

getValue

Last update: 16.07.2025

public getValue(name: String, run: Long): Variant

gets the value for a specified variable

Return

the variable value

Parameters

name the variable to get the value for
run the run to get the value for (0-based index)

Throws

ModelCenterException

public getValue(index: Long, run: Long): Variant

gets the value for a specified variable

Return

the variable value

Parameters

index the variable to get the value for (0-based index)
run the run to get the value for (0-based index)

Throws

ModelCenterException

Connect with Ansys