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

asiInitEnvOption

asiInitEnvOption( 
o_tool 
) 
=> t / nil

Description

Initializes the tool-specific environment options for the tools that are derived from the asiAnalog class. This is not applicable for tools derived from the asiSocket class. This function can be used by third-party integrators to define their own environment options.

Arguments

o_tool

Simulation tool object.

Value Returned

t

The tool-specific environment options are initialized.

nil

The function did not run successfully.

Examples

Initializes the tool-specific environment options for the tools that are derived from the asiAnalog class.

defmethod( asiInitEnvOption ( ( tool <yourSimulator> ) )
    ;;; Initialize the environment options from the base class.
    callNextMethod()
    asiAddEnvOption( tool
    ?name 'MyOpt
    ?prompt      "Any String Option"
    ?value        "xyz"
?type 'string
)
)
=> t


Return to top
 ⠀
X