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

asiSelectAnalysisCompParam

asiSelectAnalysisCompParam( 
s_analysisName 
s_instField
s_parField
)
=> t / nil

Description

Lets the user select a component instance from the schematic to pop up a list box containing the parameters for that instance.

The name of the component automatically fills in the associated form field in the Choosing Analyses form. When the user selects a parameter from the list box, the name of the parameter automatically fills in its associated field.

Arguments

s_analysisName

Name of the analysis.

s_instField

Name of the field to contain the selected component.

s_parField

Name of the field to contain the selected parameter.

Value Returned

t

Successful operation

nil

Indicates an error.

Examples

Lets the user select a component instance from the schematic in an AC analysis. The name of the component fills in the device field, and a list box appears showing all the parameters for that component. Then the user can select a parameter from the list box to fill in the deviceParam field.

asiCreateAnalysisField(
    ?name               ’device
?prompt "Component Name"
) asiCreateAnalysisField(     ?name      ’select
?prompt "Select Component"
?type ’button
?callback "asiSelectAnalysisCompParam( ’ac ’device
’deviceParam )"
) asiCreateAnalysisField(     ?name      ’deviceParam
?prompt "Parameter Name"
)

Return to top
 ⠀
X