Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
i tried to modificate this code by adding color and lineweight
(vl-load-com)
(defun C:CPV (/ ss i pl n); = Circles at Polyline Vertices
(if (setq ss (ssget '((0 . "LWPOLYLINE"))))
(repeat (setq i (sslength ss)); then
(setq pl (ssname ss (setq i (1- i))))
(repeat (setq n (cdr (assoc 90 (entget pl))))
(command "color" 3 "lweight" 0.3 "_.circle" (vlax-curve-getPointAtParam pl (setq n (1- n))) 0.8)
); repeat [vertices]
); repeat [Polylines]
); if
); defun
But after this command, on current layer it leaves selected color and lineweight, it is possible make it set back to by layer after this lisp?
Solved! Go to Solution.