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

asiGetAnalysisOptionList

asiGetAnalysisOptionList( 
o_analysis 
)
=> l_optionObjects / nil

Description

Gets a list of analysis option objects defined for a particular analysis object.

Arguments

o_analysis

Specifies an analysis object.

Value Returned

l_optionObjects

Returns a list of analysis option objects.

nil

The analysis has no options.

Examples

The following example returns the list of analysis options:

asiGetAnalysisOptionList( analysis )

The following example shows how you might use the asiGetAnalysisOptionList routine in your asiFormatAnalysisOption routine:


defmethod( asiFormatAnalysisOption ( ( analysis XYZ_trial_analysis ) 
    _fp )

    let(( name value command sendMethod (session asiGetSession
     (analysis )) )

     foreach( option asiGetAnalysisOptionList( analysis )
name = asiGetName( option )
value = asiGetAnalysisOptionVal( analysis name )
sendMethod = asiGetAnalysisOptionSendMethod( analysis
name)

      if( artBlankString( value ) then
sprintf( command "deprop XYZ_trial %s\n" name )
else
caseq( sendMethod
( set
sprintf( command "set %s=%s\n" name
value )
)
( ptprop
sprintf( command "ptprop XYZ_trial
%s %s\n" name value )
)
( psprop
sprintf( command "psprop XYZ_trial %s
\"%s\" \n" name value )
)
( t
warn( "don't know how to send XYZ trial
option %s\n." name )
command = nil
)
)
)

     when( command
asiSendSim( session command nil nil nil )
)
)
)
)

Related Topics

asiDisplayAnalysisOption


Return to top
 ⠀
X