Display full version of the post: easy shortcut question

germanbarry
07.06.2011, 09:39
hi all
I am often switching between world coords and vertical coords. at the moment to do this i type in UCS > W and UCS > V, which requires a total of 6 keystrokes (including enter key) to make the switch.
 
if i want to make a shortcut for these commands to simply be UV and UW (halving my keystrokes), does that require a lisp, since it's not a stand-alone command name change, rather the command AND its subsequent sub-command?
if not a lisp, how do I do it?
 
sorry if this is a n00b question.

John Connor
07.06.2011, 12:04
You could probably create two different macros and assign them to individual buttons placed on a custom Toolbar.


germanbarry
07.06.2011, 12:35
[QUOTE=John Connor]You could probably create two different macros and assign them to individual buttons placed on a custom Toolbar. [/QUOTE]

no I couldn't.... but I'm guessing YOU could!!? ;-)
 
not really sure how to do this, but could I somehow make an additional entry into the acaddoc.lsp file to get this shortcut happening?
I wouldn't know where to put it, or what exactly the code should be, but if that's an (easier?) option, then advice on it would be also appreciated!
 
is the acaddoc.lsp file called exactly that if I'm using 2011 version? I can only find this lisp file:
C:\Program Files\Autodesk\ACA2011ENU\Support\acad2011doc

John Connor
07.06.2011, 18:09
A macro and a lisp are not the same thing.
 
Which do you want to have/use?

germanbarry
08.06.2011, 07:55
don't really care if they have the same effect... whichever is easier to implement I suppose?

John Connor
08.06.2011, 12:39
Since you are using a full version of AutoCAD why not use the Action Recorder found on the Manage tab to record two simple macros?


germanbarry
08.06.2011, 14:03
that's the answer I was after!
haven't used macros with this CAD version yet, but thanks for explaining how. piece of cake for a simple function like this.
 
cheers