Skip to main content

ModelCenter APIs 2025 R2

addAnalyzerVariable

Last update: 16.07.2025

abstract fun 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.

Connect with Ansys