vlax-curve-isClosed

AutoCad AutoLISP Functions

 
vlax-curve-isClosed
 
 
 

Determines if the specified curve is closed (that is, the start point is the same as the endpoint)

(vlax-curve-isClosed curve-obj)

Arguments

curve-obj

The VLA-object to be tested.

Return Values

T if the curve is closed; otherwise nil.

Examples

Determine if the ellipse used to demonstrate vlax-curve-getArea is closed:

_$ (vlax-curve-isClosed ellipseObj)
T

Determine if the spline used to demonstrate vlax-curve-getDistAtParam is closed:

_$ (vlax-curve-isClosed splineObj)
nil