Showing posts with label keyboard shortcuts. Show all posts
Showing posts with label keyboard shortcuts. Show all posts

Monday, 5 January 2015

Create your own AutoCAD Shortcut Keys

Last time, I showed a keyboard shortcuts graphic, and hinted about creating my own shortcuts.  Today, we will look at exactly how to do that, and it all happens in the Customizable User Interface (CUI).

Type CUI at the command line to start it, and you should see a dialog something like the one I have shown here.

There are several distinct areas: 
Upper Left: Customizations
Lower Left: Command List
Right side:  Properties

To create a keyboard shortcut, we need to do 3 things: 
1. Locate the command in the command list, 
2. Place the command in the Keyboard Shortcut list, and
3. Assign a shortcut to the command.

In this example, let's assign Paste to Original Coordinates to CTRL+SHIFT+V (I will reassign Paste as Block to CTRL+SHIFT+B later, using the same method).

Firstly, in the upper left customizations pane, find and expand Keyboard Shortcuts, and Shortcut Keys.  Here you will see a list of existing shortcut keys.  We will add a command to it: Paste to Original coordinates.

In the Command list pane (lower left), there is a search box, type in "paste to", the command list below should show Paste to Original Coordinates.  Click the command, and drag it up and drop it in the shortcut keys list above. Next, select Paste to Original Coordinates in the Shortcut keys list, and to the right you will see it listed in the Shortcuts area, and also see properties for it displayed below.

If you do not see the shortcuts area in the right side of the CUI, click the little right pointing chevron in the lower right corner, and it will appear.  

In the properties area, click  the Key(s) box in the Access area, and then click the ellipsis to the right; a shortcut key press dialogue will appear.  Press CTRL+SHIFT+V, and it will appear in the box.


Click OK (click OK again to bypass the alerts),click Apply, then OK to exit the CUI.


That's it! CTRL+SHIFT+V is now Paste to Original Coordinates.




To get Paste as Block back as a keyboard shortcut, you can search for Paste as Block in the upper shortcuts pane, and re-map that to CTRL+SHIFT+B.

With all this customization, it is possible to have multiple commands mapped to the same keyboard shortcuts. For example, before I remapped paste as block to CTRL+SHIFT+B, it was still CTRL+SHIFT+V, same as my new mapping.  How does AutoCAD deal with multiple assignments? The same way it deals with other multiples, it loads the first instance it finds, and ignores the others.

The shortcuts list in the shortcut keys area of the CUI can be rearranged, and AutoCAD uses that order to load the mappings: higher in the list means it gets loaded earlier.

A good idea to make sure your customizations get loaded is to move those commands to the top of the shortcut keys list in the Customizations pane.

Are you a keyboard user? Please share your thoughts on keyboard shortcuts, and customization, I'd be happy to hear from you!
 

Sunday, 28 December 2014

More AutoCAD Keyboard Ctrl

After several days of roast turkey, hot turkey sandwiches, turkey soup, and the oh-so-Canadian Boxing Day shopping, it's time to shake off the Tryptophan and get back to AutoCAD.

Staying in the spirit of Ctrl keyboard features and tools, I have created a graphic showing all the out-of-the-box AutoCAD Ctrl + keyboard shortcuts.

I have verified these in AutoCAD 2014 and Civil 3D 2014 with the results as shown, and also have run most on AutoCAD 2015, with no differences noted; please let me know if your results differ.





I have done a little visual sorting as well:

Blue    =  Palettes and display
Yellow =  File operations
Green =  Toggles and Variables
Pink    =  Selection and Clipboard
White  =  No action

This is the out-of-the-box configuration; notice there are plenty of unassigned keys for your own customization!

For example, I map CTRL+SHIFT+V to _Pasteorig (paste to original coordinates), since I do this often. I try to avoid changing any default settings, with the exception of F1, which I re-map to Cancel, since it drives us all nuts when we accidentally hit the F1 key and AutoCAD launches Help.

I hope this helps you try and keep track of all the built in shortcuts; Happy CADding! 

Update: FYI, Here are the out-of the box CTRL+SHIFT shortcuts:
CTRL+SHIFT+C   Copy with base Point
CTRL+SHIFT+H   Toggle HIDEPALETTES
CTRL+SHIFT+I     Toggle Infer Constraints
CTRL+SHIFT+L    Select Previous
CTRL+SHIFT+P    Toggle QPMODE
CTRL+SHIFT+S    SAVEAS
CTRL+SHIFT+V    Paste as Block

2015-01-06 Update: I have corrected the CTRL+N (NEW) and CTRL+M (no command) keys in the graphic



Thursday, 18 December 2014

Having [Ctrl]


There are plenty of ways to input commands in AutoCAD: the Ribbon, Toolbars, even drop down menus [If you don't see your drop down menus, set MENUBAR = 1].  Being a user since R11, I still do a lot of command entry using the keyboard (but I have abandoned the screen menu). 

Aside from typing in commands, there are lots of built-in keyboard shortcuts in AutoCAD. I'm sure most everyone knows [ctrl] + C to copy to clipboard, and [ctrl] + V to paste from the clipboard, but most every key pressed with [ctrl] is also a command, a variable, or a toggle.


Let's look at some of the most common AutoCAD [ctrl] button shortcuts:

[ctrl] + A selects all objects
[ctrl] + B toggles SNAPMODE
[ctrl] + D toggles Dynamic UCS
[ctrl] + E cycles Isoplane modes
[ctrl] + G toggles GRIDMODE

[ctrl] + C copies objects to the clipboard
[ctrl] + X deletes objects and puts them on the clipboard
[ctrl] + V pastes objects from the clipboard
[ctrl] + Z Undo command

[ctrl] + [shift] + C copies to the clipboard with a base point that you pick
[ctrl] + [shift] + B pastes from the clipboard as a block

[ctrl] + N brings up NEW dialogue box
[ctrl] + O brings up the OPEN dialogue box
[ctrl] + P brings up the PLOT dialogue box

[ctrl] + 1 opens/closes the Properties Palette
[ctrl] + 2 opens/closes Design Center
[ctrl] + 3 opens/closes the tool palette
[ctrl] + 4 opens/closes the Sheet Set Manager
[ctrl] + 9 shows/hides the command line
[ctrl] + 0 shows/hides all toolbars

[ctrl] + [tab] cycles through open drawings
[ctrl] + [page up]/[page down] cycles through layouts in a drawing

There are plenty more, experiment to see what others you can use.

What's your favourite? comment and share!