Way back Autocad 2000, I created a shortcut by just typing FRD it will do fillet command with specified radius. I was able to use this to different version of autocad up to 2007 with no problem. But for some reason I can’t make it work in 2008. Can somebody please help me fix it.
(defun c:FRD (/)
(setvar "cmdecho" 1)
(command "FILLET" "R" pause "fillet")
Thanks in advance
it will return to command prompt. see below.
Command: frd FILLET Unknown command "FILLET". Press F1 for help.
Command: R Unknown command "R". Press F1 for help.
Here is one I use. I give the defun a different name for each size fillet I want to create. I wrote this a long time ago in a lisp class that is why all the prompt stuff, feel free to strip all that out.
(defun c:f2 (/ rad rad1)
(setq rad (getvar "filletrad"))
(prompt"\nThe current Fillet radius is<")(princ rad)(prompt ">:")(princ)
(prompt"\nThe Fllet radius is being set to 0")(princ)
(command "fillet" "radius" 0.002)
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register