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

spdGetAbutStrategy

spdGetAbutStrategy(
t_abutName
[ ?libName t_libName ]
)
=> x_strategy / nil

Description

Returns the abutment strategy associated with the specified user abutment name registered using the spdRegUserAbutProc function.

Arguments

t_abutName

Name of the user abutment.

?libName t_libName

Name of the library associated with the user abutment.
The default value is nil, which refers to the global abutment callback.

Value Returned

x_strategy

The abutment strategy associated with the specified user abutment name and library.

nil

No abutment strategy was found.

Example

Registers the user abutment name and abutment strategy pairs.

; abutment name  :  abutment strategy
; "dummyStyle1"  :   2
; "dummyStyle2"  :   3
spdRegUserAbutProc(list(list("dummyStyle1" 2) list("dummyStyle2" 3)) "MyUserAbutProc" "MyUserAbutCheckProc" "MyUserAbutRestoreProc" ?libName "libA")
=> t

Query the abutment strategy associated with the user abutment name dummyStyle2 and library libA

spdGetAbutStrategy("dummyStyle2" ?libName "libA")
=> 3 

Related Topics

spdRegUserAbutProc

Abutment


Return to top
 ⠀
X