Message 1 of 12
cond (or
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
what is wrong with this do I need a (or after (Cond I don't want to do a (and with each one and have to put the (if under each one if the angle is equal to one of the cond and when equal to one of the If's
(setq angsd (angle cen int))
(cond
((= (cvunit 30 "DEGREE" "RADIAN") angsd))
((= (cvunit 120 "DEGREE" "RADIAN") angsd))
((= (cvunit 210 "DEGREE" "RADIAN") angsd))
((= (cvunit 300 "DEGREE" "RADIAN") angsd))
(if (<= pi ang)
(command "_arc" "C" cen fspt scpt)
(setq arc (ssget "L"))
)
(if (> pi amg)
(command "_arc" "C" cen scpt fspt)
(setq arc (ssget "L"))
)
)