vlax-curve-getArea

AutoCad AutoLISP Functions

 
vlax-curve-getArea
 
 
 

Returns the area inside the curve

(vlax-curve-getArea curve-obj)

Arguments

curve-obj

The VLA-object to be measured.

Return Values

A real number representing the area of the curve, if successful; otherwise nil.

Examples

Assume the curve being measured is the ellipse in the following drawing:

Sample curve (ellipse) for vlax-curve-getarea

The ellipseObj variable points to the ellipse VLA-object.

The following command obtains the area of the curve:

_$ (vlax-curve-getArea ellipseObj)
4.712393