asiSelectAnalysisCompParam
asiSelectAnalysisCompParam(s_analysisNames_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
Value Returned
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