Skip to main content

ModelCenter APIs 2026 R1 SP03

getMacroScript

Last update: 30.07.2026

public getMacroScript(macroName: String): String

get the script for a macro if the macro exists

Return

the macro script

Parameters

macroName the name of the macro

Connect with Ansys