Arc entity in Lwpolyline

nagesh nangi

Usenet Archive
Joined
Jan 27, 2004
Messages
13
Reaction score
0
i want to find arc entity in lwpolyline without exploding it. Using VisualLisp i can't get vertices in lwpolyline through entnext.
u can suggest for VBA also.
 
Arc in pline are "bulge factors".

pl1 is ename of LWpline.

(setq enlst (entget pl1))
(foreach n enlst
(if (= (car n) 10)
(setq ptlist (cons (cdr n) ptlist)
)
(if (= (car n) 42)
(setq bglist (cons (cdr n) bglist) ;list of points in polyline. ) ) ;end if ) ;end if )

ptlist is list of vertices and bglist is associated list of bulges.

HTH

Bill
 

Latest threads

Back
Top