Is there a Sysvar for the FILLET command that will allow you to set the default radius you want and have AutoCAD stay at that setting from drawing to drawing?
I'm using AutoCAD MEP 2008.
|
Is there a Sysvar for the FILLET command that will allow you to set the default radius you want and have AutoCAD stay at that setting from drawing to drawing?
I'm using AutoCAD MEP 2008.
You can create a lisp file to fillet at a set radius and keep the regular fillet command behaviour as normal.
For example the above FZ lisp will give a fillet radius of 0, but you can still use the regular fillet command which will remember the last radius used.Code:(defun c:fz () ; line 1 (setq old_radius (getvar “filletrad”)) ; line 2 (setvar “filletrad” 0); line 3 (command “.fillet” pause pause) ; line 4 (setvar “filletrad” old_radius) ; line 5 ) ; line 6
If that helps at all?
Last edited by H'Angus; 2008-02-26 at 04:06 PM.
That saves per drawing rather than as a system default though (I think).
Since it's a per drawing variable, it could be set in your template drawing, so any new drawings created would have your requested filletrad set.
You can also add a line to your acaddoc.lsp that will set the sysvar each time you open a drawing.
Have you ever edited your acaddoc.lsp before?
Type (findfile "acaddoc.lsp") at the command line to find where the active acaddoc.lsp file is. Then open that file in a text editor, or in the vlide dialog in AutoCAD and add the following to the file
(SETVAR "filletrad" 0.5)
If you don't have an acaddoc.lsp file, you can create one in notepad, and save it as acaddoc.lsp in a folder that is in your support file search path.
HTH
Follow my advice for the acaddoc.lsp file. That'll work, even on old drawings. I wasn't thinking, or would have suggested it first.
As for why it's not saving in the template dwg, I have no idea, but you'll not need to worry about it with the edit to the acaddoc.lsp file