Skip to main content

ModelCenter APIs 2026 R1

getState

Last update: 18.06.2026

public getState(): Int

gets the state of the variable, either PHXVariableDescription.INPUT or PHXVariableDescription.OUTPUT.

Return

the variable's state

Throws

ModelCenterException

Connect with Ansys