Skip to main content

ModelCenter APIs 2026 R1

setHasChanged

Last update: 18.06.2026

public setHasChanged(flag: Boolean)

Boolean which indicates if the variable has changed since the last time the boolean was reset. Typically used only by Plug-Ins for their own variables (to avoid conflicting use by different Plug-Ins, macros, or tools). Set the value to false and it will automatically flip to true any time the value changes.

Parameters

flag has the variable changed

Throws

ModelCenterException

Connect with Ansys