Print Page | Close Window

easy shortcut question

Printed From: CAD Forum
Category: EN
Forum Name: CAD - general
Forum Description: General discussion about CAD, formats, standards, management, licensing, networking, harware, other CAD applications
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=6029
Printed Date: 30.Sep.2026 at 07:12


Topic: easy shortcut question
Posted By: germanbarry
Subject: easy shortcut question
Date Posted: 07.Jun.2011 at 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.



Replies:
Posted By: John Connor
Date Posted: 07.Jun.2011 at 12:04
You could probably create two different macros and assign them to individual buttons placed on a custom Toolbar.

-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: germanbarry
Date Posted: 07.Jun.2011 at 12:35
Originally posted by John Connor John Connor wrote:

You could probably create two different macros and assign them to individual buttons placed on a custom Toolbar.
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


Posted By: John Connor
Date Posted: 07.Jun.2011 at 18:09
A macro and a lisp are not the same thing.
 
Which do you want to have/use?


-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: germanbarry
Date Posted: 08.Jun.2011 at 07:55
don't really care if they have the same effect... whichever is easier to implement I suppose?


Posted By: John Connor
Date Posted: 08.Jun.2011 at 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?

-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: germanbarry
Date Posted: 08.Jun.2011 at 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



Print Page | Close Window