axlGetCorner
axlGetCorner(x_mainSDBt_cornerName) =>x_corner/ nil
Description
Finds a corner by its name and returns a handle to that corner.
Arguments
Value Returned
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
Return to top