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

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

t_setupName

Specifies the name of the sweep setup.

g_setId

Specifies an integer or string number to denote the parametric set ID. For example, 1 or "1".

t_varName

Specifies the name of the variable to be added to the specified parametric set.

Value Returned

t

The variable is added to the specified parametric set.

nil

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

slaAreParametricSetsEnabled

slaGetParametricSets

slaGroupAsParametricSet

slaRemoveFromParametricSet

slaSetParametricSetsEnabled

slaUngroupParametricSet

Setup Library Assistant Functions


Return to top
 ⠀
X