Message 1 of 6
Not applicable
12-03-2019
09:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need to draw an arc with beggining coordinates (x=0 y=0), end coordinates (x=20 y=-20), change it's direction and have an angle of 135 degrees.
I tried the following in AutoLISP:
(defun C: arrows() (setq t1 (getpoint)) (setq t2 (list(+ 20 (car t1)) (+ -20 (cadr t1)))) (command "arc" t1 "end" t2 "direction" 135))
Where's the problem?
Solved! Go to Solution.