View Full Version : need lisp for offset
indigo
2005-01-19, 11:24 PM
I'm looking for a lisp routine for offset that allows me to enter 12 @ the command prompt and enables the offset to 12". I've used it before and works well for me, Too bad i don't know what happened to it. Thanks for the help............
Casey
scwegner
2005-01-19, 11:34 PM
I'm looking for a lisp routine for offset that allows me to enter 12 @ the command prompt and enables the offset to 12". I've used it before and works well for me, Too bad i don't know what happened to it. Thanks for the help............
Casey
How is that different from the standard offset command?
indigo
2005-01-20, 12:48 AM
Rather than typing O (or whatever hotkey you use for offset) you bypass it by directly typing in the number of inches you wish to offset. So basically, the number you type is a shortcut for the offset command.
I know it exists somewhere, I just can't find it..........
paulmcz
2005-01-20, 01:43 AM
(defun c:12 ()(command "offset" "12")(princ))
Add above line to your acaddoc.lsp file
scwegner
2005-01-20, 04:31 PM
Rather than typing O (or whatever hotkey you use for offset) you bypass it by directly typing in the number of inches you wish to offset. So basically, the number you type is a shortcut for the offset command.
I know it exists somewhere, I just can't find it..........
Cool. Did it work for different numbers?
paulmcz
2005-01-20, 05:12 PM
following "c:" you can type anything and "12" could be made into any distance. Just type any number.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.