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

spdGetAbutName

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

Description

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

Arguments

x_strategy

The abutment strategy.

The values 0 and 1 are system-reserved for unabutment and normal oxide diffusion abutment respectively. User abutment strategy numbering starts at 2.

?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

t_abutName

Name of the user abutment for the specified library associated with the given abutment strategy.

nil

No user abutment name was found.

Example

Register 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 user abutment name associated with the abutment strategy 3and library libA.

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

Related Topics

spdGetUserAbutProc


Return to top
 ⠀
X