View Full Version : Combine list in the entmake
Adesu
2006-12-04, 09:39 AM
Hi Alls,
I thought this code very simple,but I got problem to solve it,my brain still locked,here that code,look at attach file
kpblc2000
2006-12-04, 11:40 AM
Try to replace last (entmake) to this:
(setq ed (entmake
(append (list
'(0 . "LWPOLYLINE")
'(100 . "AcDbEntity")
'(67 . 0)
'(100 . "AcDbPolyline")
(cons 90 (length lst))
) ;_ end of list
lst
) ;_ end of append
) ;_ end of entmake
) ;_ end of setq
Adesu
2006-12-05, 01:05 AM
Hi kpblc,
yes like that,as I looking for,many thanks for your help.
Try to replace last (entmake) to this:
(setq ed (entmake
(append (list
'(0 . "LWPOLYLINE")
'(100 . "AcDbEntity")
'(67 . 0)
'(100 . "AcDbPolyline")
(cons 90 (length lst))
) ;_ end of list
lst
) ;_ end of append
) ;_ end of entmake
) ;_ end of setq
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.