Skip to main content

ModelCenter APIs 2025 R2

addVariableStructs

Last update: 16.07.2025

public addVariableStructs(dhVarStructs: Array<DataHistoryVariableStruct>, run: Long)

Sets the results for a run. This method will add variables to the DataHistory if they are not already present. File variables are not supported.

Parameters

dhVarStructs Array of DataHistoryVariableStructs to add
run The 0 based index to the run to set.

Connect with Ansys