Skip to main content

ModelCenter APIs 2026 R1

canSaveToModel

Last update: 18.06.2026

abstract fun canSaveToModel(dataHistory: DataHistory, runIndex: Int): Boolean

Determine if a run could be saved to the model; returning FALSE means that option should be disabled in any menus.

Return

TRUE if the run could be saved, FALSE if not

Parameters

dataHistory the data history to check in regards to
runIndex the index of the run to check

Connect with Ansys