Odcl_isClosedPoly

(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > DWG information >

Odcl_isClosedPoly

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_isClosedPoly

This function will tell if the selected Polyline entity is colsed.

 

Parameter

Entity selection as Ename or VLA-Object

 

Return Value

Integer Value of Closed status

1 = Closed

2 = Not Cllsed

3 = Note Closed but the last coordinate vector correspond at the first one.

 

Example

(Odcl_isClosedPoly (car (entsel)))

or

(Odcl_isClosedPoly (vlax-vla-object->ename (car (enesel))))

 

AutoLisp Syntax:

(setq rValle (Odcl_isClosedPoly PlineEntity [as Ename or VLA-Object]))