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

axlGetCorner

axlGetCorner( 
x_mainSDB 
t_cornerName 
) 
=> x_corner / nil 

Description

Finds a corner by its name and returns a handle to that corner.

Arguments

x_mainSDB

Specifies the setup database handle.

t_cornerName

Specifies the corner name.

Value Returned

x_corner

Handle to a corner.

nil

The command was unsuccessful.

Examples

The following example shows how to find a corner with name VDD_C0.

session = axlGetWindowSession()
=>"session0"
x_mainSDB = axlGetMainSetupDB(session)
=> 1001
cHandle = axlGetCorner(x_mainSDB "VDD_C0")
=> 1340
; you can further use this corner handle to modify or remove the corner
axlRemoveElement(cHandle)

The following example disables all the corners in the current session.

session = axlGetWindowSession()
=>"session0"
x_mainSDB = axlGetMainSetupDB(session)
=> 1001
;; Disable corners
foreach(corner cadr( axlGetCorners(x_mainSDB) )
axlSetEnabled(axlGetCorner(x_mainSDB corner) nil))
=> ("C0" "C1" "C2")

Related Topics

axlGetWindowSession

axlGetMainSetupDB

axlSetEnabled

axlGetCorners


Return to top
 ⠀
X