Skip to main content

ModelCenter APIs 2026 R1 SP03

isValid

Last update: 30.07.2026

public isValid(name: String, run: Long): Boolean

checks to see if a variable value is valid or not

Return

true or false

Parameters

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

Throws

ModelCenterException

public isValid(index: Long, run: Long): Boolean

checks to see if a variable value is valid or not

Return

true or false

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