Skip to main content

ModelCenter APIs 2026 R1 SP03

getMacroTimeout

Last update: 30.07.2026

public getMacroTimeout(macroName: String): Double

get the timeout for a macro if the macro exists

Return

the number of seconds to allow a script to run before canceling it; -1 indicates no timeout

Parameters

macroName the name of the macro

Connect with Ansys