(vlax-curve-getArea ename)
The vlax-curve-getArea function calculates the area inside a curve or polyline. The curve or polyline does not need to be closed.
ename specifies the entity name of a curved entity or polyline.
The function returns the area of the entity as floating-point number, if successful. If the function cannot calculate an area, it returns 0.
Examples
Assume the en variable points to a recently drawn arc, circle, ellipse, spline, or polyline:
: (setq en (entlast))
<EName: 055d4b60>
: (vlax-curve-getarea en)
4.712393