Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

axlSetPreRunScriptEnabled

axlSetPreRunScriptEnabled(
t_sessionName
t_testName
g_enabled
)
=> t / nil 

Description

Enables or disables execution of pre-run scripts before running simulations.

Arguments

t_session

Name of the session.

t_testName

Name of the test for which you want to enable or disable execution of a pre-run script.

g_enabled

Specifies if the execution of a pre-run script is to be enabled or disabled.

Value Returned

t

Execution of pre-run scripts was enabled or disabled.

nil

The command was unsuccessful.

Examples

The following example enables the execution or pre-run script for the AmpTest1 test:

axlsession=axlGetWindowSession( hiGetCurrentWindow())
"session0"
axlSetPreRunScriptEnabled(axlsession, "AmpTest1", t)
=> t

Related Topics

axlGetPreRunScript

axlSetPreRunScriptEnabled

axlImportPreRunScript


Return to top
 ⠀
X