vlax-curve-getarea


(vlax-curve-getarea curveEnt)

This function returns the area of the curveEnt curve entity.

Arguments

curveEnt  (ename or vla-object) the COM object of any "curve" entity

Return

double;  the area of the curve or NIL

Example

last entity is a CIRCLE with radius = 1.0 :
(setq ent (vlax-ename->vla-object (entlast)))  #<VLA-OBJECT IAcadCircle 000000004E8E3920>
(vlax-curve-getarea ent)  3.14159265358979

Remarks




©  Bricsys NV. All rights reserved.