Message 1 of 2
Can't get fillet command to work in routine

Not applicable
08-16-2017
09:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
(defun C:fp(/ counter choice) ; Generate Walls (setq counter 0) (setq choice "Yes") (while (= choice "Yes") (+ counter 1) (princ "\nPick Points/Enter Length of the wall: ") (command "Line" pause pause "") (command "._offset" (getreal "\nEnter Wall Thickness: ") (entlast) pause "") (initget 1 "Yes No") (setq choice (getkword "\nWould you like to draw another wall? [Yes/No]: ")) ) (if (> counter 2) (repeat counter (command "._fillet" (princ "\nSelect the Objects You'd like to Fillet: ") pause pause "") ) ) )
I'm wanting the fillet command to run for as many times as the counter. can't get it working. probably just a dumb mistake.