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

maeWriteScript

maeWriteScript(
t_fileName
[ ?session t_session ]
[ ?shouldRunActive g_shouldRunActive ] 
[ ?runPlans l_runPlans ] 
[ ?histories l_histories ] 
)
=> t / nil

Description

Creates a script with the specified setup details. This script can be run from the command line.

Arguments

t_fileName

Name of the script file to be created

?session t_session

Name of the session from which setup details are to be written to the script

By default, the current session and its active state is used.tam

?shouldRunActive g_shouldRunActive

Boolean value that specifies if the active setup should be run or not. When this argument is set to t, maeRunSimulation() is added to the script saved by maeWriteScript.

Default value: t

?runPlans l_runPlans

List containing the names of run plans to be added to the script.

By default, all the run plans defined in the active setup are saved in the script.

?histories l_histories

List of histories.

Value Returned

t

Successful operation.

nil

The command could not be run.

An error message is also displayed in the log.

Examples

The following example code creates a script for the current cellview with the given file name:

maeOpenSetup("solutions" "amptest" "maestro")
;; the above function loads the given cellview and returns the session object
=> "session0"
maeWriteScript("runPlan.il")
=> t

Related Topics

Executing Runs Using a Script


Return to top
 ⠀
X