Message 1 of 8

Not applicable
09-15-2017
03:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have created a routine that stores the vertices of a pline and creates a string of the coordinates. However, i cannot figure out how to add a circle at each of the vertices in the string. Any help would be greatly appreciated below is my code so far:
(defun c:somefunc (/ i n vlaobj)
(command "._pline")
(while (/= 0 (getvar 'cmdactive)) (command pause))
(print
(setq lst (reverse (cdr (reverse (vl-remove-if-not 'listp (mapcar 'cdr (entget (entlast)))))))))
(setq vlaobj (vlax-ename->vla-object (entlast))
i 1
n (vlax-curve-getendparam vlaobj))
(while (<= i n) (setq l (vlax-curve-getdistatparam vlaobj i)) (setq i (1+ i))))
Solved! Go to Solution.