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

asiSelectTerm

asiSelectTerm(
s_field
[ ?prompt t_prompt ]
[ ?form r_form ]
[ ?tab l_tab ]
)
=> t / nil

Description

Lets you select an instance terminal from the schematic. If you select any other object, the system ignores the selection and beeps.

Arguments

s_field

Name of the field to be filled in with the selected value.

?prompt t_prompt

Prompt string to display in the schematic window.

Default Value: "Select instance terminal..."

?form r_form

Form that contains the field to be filled in with the selected value. The default is the form returned by hiGetCurrentForm.

?tab l_tab

List containing the following:

  • Name of the tab, which is created using hiCreateTabField
  • Page displayed on the specified tab on which the string field exists.
Use this argument only in case the specified form has multiple tabs.

Value Returned

t

Successful operation

nil

Indicates an error.

Examples

Lets you select the instance terminal from the schematic to use as input for the term field of the current form. Use this when a form does not contain any tabs.

asiSelectTerm( 'term )

Lets you select an instance terminal from the schematic to use as an input for the term field which is present in page1 of TabField. Use this when a form contains multiple tabs.

asiSelectTerm('term ?tab list('TabField 'page1))

Related Topics

hiCreateTabField

hiGetCurrentForm


Return to top
 ⠀
X