slaAddToParametricSet
slaAddToParametricSet(
t_setupName
g_setId
t_varName
)
=> t / nil
Description
Adds a variable to the specified parametric set in the setup library view that is opened using the slaOpenOrCreateView function in edit mode.
Arguments
|
Specifies an integer or string number to denote the parametric set ID. For example, |
|
|
Specifies the name of the variable to be added to the specified parametric set. |
Value Returned
|
The simulation setup, parametric set, or variable with the specified name does not exist, or the command failed. |
Examples
Opens a setup library view in edit mode and adds a variable to a parametric set.
slaOpenOrCreateView("test" "ProjectSetup" "setupLib")
=> t
Invalid arguments are specified while adding a variable to the parametric set.
slaAddToParametricSet(SweepSetup1 "XXX" "XXX")
ERROR (ADE-11414): Cannot run the function because the parametric set 'XXX' is invalid. Specify a valid parametric set name and rerun the function.
=> nil
The variable to be added to the parametric set is invalid.
slaAddToParametricSet(SweepSetup1 1 "XXX")
ERROR (ADE-11414): Cannot run the function because the variable 'XXX' is invalid. Specify a valid variable name and rerun the function.
=> nil
Valid arguments are specified while adding a variable to the parametric set.
slaAddToParametricSet(SweepSetup1 1 "var1")
=> t
Related Topics
Setup Library Assistant Functions
Return to top