Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hello
i wanna use automatic chamfer only for perpendicular plines . which code should i add to lisp below
i found function
(defun angle90 (p1 p2 p3) (vl-some '(lambda (ang) (equal (abs (- (angle p1 p2) (angle p2 p3))) ang 1e-4)) (list (* pi 0.5) (* pi 1.5) (+ pi pi)) ) )
something like that but i think i can use it only if i use getpoint in my function ... how to do it on multiple point polyline set ?
thanks for help
(defun c:test ()
(command "_.pline")
(while (> (getvar 'cmdactive) 0)
(command pause)
(setq aa (entlast))
); while
(command "_.chamfer" "_polyline" aa)
(princ))
Solved! Go to Solution.