Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am looking for someone to tell me what to place in this lisp, and where, so the command will repeat.
(defun c:d_fillet (/ dscale fill_rad pt1 pt2)
(princ "\nCUSTOM FILLET")
(setq dscale (getvar "dimscale"))
(princ " Current Dimscale is: ")(princ dscale)
(setq fill_rad 0.1)
(setq fill_rad (* dscale fill_rad))
(while (null (setq PT1 (entsel "\nSelect first line: ")))
(princ "\nNo object found")
)
(redraw (car PT1) 3)
(while (null (setq PT2 (entsel "\nSelect second line: ")))
(princ "\nNo object found")
)
(redraw (car PT2) 3)
(command "fillet" "rad" (rtos fill_rad)
"fillet" pt1 pt2)
(redraw (car PT1) 4)
(redraw (car PT2) 4)
(princ)
)
Randy Carminati
Solved! Go to Solution.