mgGetBoxLPPArea
mgGetBoxLPPArea(d_cellViewID l_bBox tx_layerName t_purposeList) =>x_TotalModgenArea/ nil
Description
Calculates the total area on the specified layer within the specified bounding box. If you specify a Modgen ID as the l_bBox parameter, then the total Modgen area is calculated and displayed.
Arguments
Value Returned
|
Total area on the specified layer within the specified bounding box. |
|
|
The function will return |
The following example calculates the "Metal1" layer density inside the editing Modgen:
modgenId = leGetEditFigGroup()
The following example calculates the total metal1 area inside the Modgen bounding box:
metal1Area = mgGetBoxLPPArea(geGetEditCellview() modgenId~>bBox "Metal1" list("drawing" "pin"))
The following example calculates total Modgen area:
modgenArea = adleBBoxArea(modgenId~>bBox)
The following example divides metal1Area and modgenArea to get the metal1Density inside Modgen:
metal1Density = metal1Area/modgenArea
Return to top