CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.098.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closedeasy shortcut question

 Post Reply Post Reply
Author
germanbarry View Drop Down
Groupie
Groupie


Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
Direct Link To This Post Topic: easy shortcut question
    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.
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post 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>>

Back to Top
germanbarry View Drop Down
Groupie
Groupie


Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
Direct Link To This Post 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
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post 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>>

Back to Top
germanbarry View Drop Down
Groupie
Groupie


Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
Direct Link To This Post Posted: 08.Jun.2011 at 07:55
don't really care if they have the same effect... whichever is easier to implement I suppose?
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post 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>>

Back to Top
germanbarry View Drop Down
Groupie
Groupie


Joined: 14.Apr.2011
Location: Germany
Using: AutoCAD 2011
Status: Offline
Points: 33
Direct Link To This Post 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
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,078 seconds.