Skip to main content

ModelCenter APIs 2025 R2

addCustom

Last update: 16.07.2025

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