leComputeFigArea
leComputeFigArea(d_figId) =>n_area/nil
Description
Computes the area of an object. The following objects are supported: rectangle, label, text display, polygon, ellipse, dot, marker, donut, path, figGroup, row, pathSeg, transmission line (trl), bend, taper, area or layer blockage, and area, snap, cluster, or place and route (PR) boundary.
Arguments
Value Returned
Example
Returns 30.0 as the area of the rectangle.
cv = geGetEditCellView()
rect = dbCreateRect(cv "poly" '((2 2) (8 7)))
leComputeFigArea(rect)
30.0
Related Topics
Return to top