본문 바로가기
autocad

find x values of lwpolyline

by kmlab 2021. 7. 5.

(defun LWPOLY_SHOW (EL)
  (while (setq EL (member (assoc 10 EL) EL))
     (print (car (cdr (assoc 10 EL)))); car to print x value
     (setq EL (cdr EL))
 (print)
  )
)
(defun ddd ()
(setq ent (entsel))
(setq dxf (entget (car ent)))
(lwpoly_show dxf)
)

반응형

'autocad' 카테고리의 다른 글

LW_COORD  (0) 2021.07.15
SSGET (펌)  (0) 2021.07.14
V Functions  (0) 2021.07.05
(vl-sort '(5.0 1 2 3.0 3.0) '<)  (0) 2021.07.05
(LM:Unique list)  (0) 2021.07.05