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

xfgrSetAvailableValues

xfgrSetAvailableValues( 
g_optionName
g_supportedOptionValue
) 
=> t / nil

Description

Specified the list of valid values for the specified option.

Arguments

g_optionName

The name of the option.

g_supportedOptionValue

The values supported for the option.

Value Returned

t

The supported values have been specified.

nil

The supported values have not been specified.

Example

Sets Place at Minimum Distance and Enclose By as the supported values for the option, wrapType.

if(xfgrSetAvailableValues("wrapType" '("Place at Minimum Distance" "Enclose By") then
    info("wrapType possible values can be PlaceAtMinimumDistance or EncloseBy")
else
    info("Available values for option wrapType not updated.")
)

Return to top
 ⠀
X