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

verifSetOptionVal

verifSetOptionVal(
g_sessionId
t_optionName
g_value
)
=> t / nil

Description

Sets the value of the specified preference option in a Verifier session.

Arguments

g_sessionId

Integer, string number, or window specifying the Verifier session ID. For example, 0, "0", or window(2).

t_optionName

The name of the option.

g_value

The value to assign to the option.

Value Returned

t

Successfully sets the new value.

nil

The specified option does not exist or the value is invalid.

Examples

The following example shows how to set the value of a preference option.

sess = verifOpenCellView("test" "sample" "verifier")
=> 0
verifSetOptionVal(sess "simparallelcount" 4)
=> t
verifSetOptionVal(0 "displaymax" t)
=> t
verifSetOptionVal(sess "simparallelcount" "abc")
*WARNING* (VERIFIER-1803): verifSetOption: invalid value '"abc"' for integer option - check the value and try again.
=> nil
verifSetOptionVal(sess "xxx" "1")
*WARNING* (VERIFIER-1800): verifSetOption: unknown option: 'xxx'
=> nil

Related Topics

verifGetOptions

verifGetOptionVal

Verifier Session and Setup Functions


Return to top
 ⠀
X