Skip to main content

ModelCenter APIs 2026 R1 SP03

addCustom

Last update: 30.07.2026

public addCustom(eqn: String, label: String)

adds a custom variable to be displayed in the Data Collector

Parameters

eqn the equation of variables, e.g.: "Model.Script.x + Model.Script.y"
label the label for the equation, e.g.: "Design Var 1"

Throws

ModelCenterException

Connect with Ansys