Skip to main content

ModelCenter APIs 2025 R2

addNewMacro

Last update: 16.07.2025

abstract fun addNewMacro(macroName: String, isAppMacro: Boolean)

adds a new Macro to ModelCenter's macro facility

Parameters

macroName the name of the new macro
isAppMacro defines whether the new macro is an Application macro (true) or Model macro (false)

Connect with Ansys