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

axlGetCornerCountForName

axlGetCornerCountForName( 
x_mainSDB 
t_cornerGroup
) 
=> x_cornerCount / -1 

Description

Returns the count of individual corners contained in the specified corner group.

Arguments

x_mainSDB

Setup database handle.

t_cornerGroup

Name of the corner group.

Value Returned

x_cornerCount

Number of corners found in the corner group.

-1

Values for x_mainSDB or t_cornerGroup were not found.

Examples

The following example shows how to find the number of corners present in a corner group:

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

Related Topics


Return to top
 ⠀
X