Skip to main content

ModelCenter APIs 2026 R1 SP03

addAnalyzerVariable

Last update: 30.07.2026

public addAnalyzerVariable(formula: String, analyzerName: String)

Call to add a variable from an analyzer product. If there are any analyzer variables, the plugin should only accept analyzer variables as trade study parameters.

Parameters

formula the formula of the variable or expression in the ModelCenter model
analyzerName the name of the variable used by the analyzer product; if not specified, the formula is used instead. The plugin should only display and accept analyzer names.

Throws

ModelCenterException on error

Connect with Ansys