Miles Mehlhoff wanted to streamline his AutoCAD command inputs. Here is an example of what he did to decrease his drafting time. "I have found the Offset command to be a very handy command in my day-to-day drafting operations. One thing I have noticed is that the Offset command is often followed by a keyed-in distance. For these instances, it seemed like I was spending time either searching for the offset tool button or heading for the O key on my keyboard prior to heading to the numerical keypad of my keyboard. I thought to myself, wouldn't it be a nice time saver if there was a way to invoke the Offset command from the numerical keypad. So I created a custom command in AutoLISP that assigns the offset command to a keyed-in 0 (zero key), followed by Enter. By putting this routine in my ACADDOC.LSP file, it is available in any drawing I open." (defun c:0()(command "offset")) Notes from Cadalyst Tip Patrol: There are many ways to customize AutoCAD. The ACADDOC.LSP file is one of them. This file loads every time you open a drawing file. You can put full LISP routines in this here, macros, or commands, or system variable settings. This is a very powerful tool. |