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

axlGetCorners

axlGetCorners( 
x_mainSDB 
) 
=> l_corners / nil 

Description

Returns a list containing a handle to all corners and a list of names of corners and corner groups in the setup database.

Arguments

x_mainSDB

Setup database handle.

Value Returned

l_corners

List containing a handle to the corners and a list of names of the corners and corner groups in the setup database.

nil

The command was unsuccessful.

Examples

The following example gets a list of all the corners and corner groups in the current session:

session = axlGetWindowSession()
=>"session0"
x_mainSDB=axlGetMainSetupDB( session )
=>1001
axlGetCorners(x_mainSDB)
=> (1003 ("C0" "C1" "C2_0_0" "C2_0_1" "C2_0_2")
)

The following example shows how to remove all the corners from the setup database of the current session:

session = axlGetWindowSession()
=>"session0"
x_mainSDB=axlGetMainSetupDB( session )
=>1001
axlGetCorners(x_mainSDB)
=> (1003
("C0" "C1" "C2_0_0" "C2_0_1" "C2_0_2")
)
axlRemoveElement(1003)
=> t
; this code removes all the existing corners from the setup database
)

Related Topics

axlGetWindowSession

axlGetMainSetupDB

axlRemoveElement

axlGetCorner


Return to top
 ⠀
X