Join Shaun Bryant for an in-depth discussion in this video Recent commands, part of AutoCAD: Using the Command Line (2016).
- We're now in a new section of the Using the Command Line in AutoCAD course. And we're going to be looking, in this section, at using the command prompt down on the command line at the bottom of the screen. Now you'll notice we have a new drawing open. And the new drawing is 04_Prompt.dwg. And you'll notice now we have some windows in the building, as well. It's got some green windows there, some yellow doors, and some red walls. As I've said previously though, we don't tend to use the actual drawing itself that much.
When we're working through this course, we just need an active AutoCAD drawing open. So, let's have a look now at using the command prompt. And what we're going to look at is recent commands. Now, I'm sure you've all used it before, but when you right-click on the mouse with no other commands selected, on the shortcut menu you get the repeat the last command. In my case, INPUTHISTORYMODE. And Recent Input, you can see my four most recent commands there.
Now the Recent Input allows me just to go straight over to one of those commands, click on it, and open that particular command. Now, instead of having to right-click and float between menus, if you go down to the command line at the bottom of the screen, you'll see a little fly out menu there. And lo and behold, the little tool tip there tells us that it's Recent Commands. So if I click there, like that, I get my recent commands in one click. No right-click and selection, it's just one click, pick the command, and off you go. Now, I know I'm probably preaching to the choir there a little bit, because some of you may already use that particular Recent Commands button.
And it is horses for courses, you can right-click like I showed you, and go to Recent Input there instead. It's entirely up to you. I'm not telling you which way to use AutoCAD, I'm just showing you the different ways in which you can use AutoCAD. Now, something else you can do is look at how those recent commands are displayed. Now that's that funny command INPUTHISTORYMODE. So if I jump down to Recent Commands here, and select INPUTHISTORYMODE, and come up here like that. Can you see that it says "Enter new value for INPUTHISTORYMODE" and the current value is 15? And I've got that down on the command line and also on the dynamic input, because I've got dynamic input switched on.
Now, by default, that value is always 15 in AutoCAD. And my suggestion is don't ever change it. The reason being is it controls where, and how many, and why recent commands are displayed in AutoCAD. In all my years of using AutoCAD, I have never ever changed the INPUTHISTORYMODE value from 15. I've always left it on 15, I've never changed it. If you want to check out what all the different values do for that variable, obviously jump into your AutoCAD help screens and just type in INPUTHISTORYMODE as all one word.
You'll immediately find the command in the listings in the help screens, and it tells you what the different values do. The reason it's 15, and it's so high, is because all the variable values are combined and added up that make up 15. And what that means is AutoCAD goes oh, I need to use all of the settings. So that's the whole idea of that high value for INPUTHISTORYMODE. But make sure that you use it. It's very, very useful for your recent commands when it's set to 15. So, for example, if I hit escape now, when I click here, the only reason that those recent commands appear like that is because INPUTHISTORYMODE is set to 15.
If I hit escape, and I right-click again, and go to Recent Input, they appear there purely because INPUTHISTORYMODE is set to 15. So you can see why I always leave it set to 15. But if you do want to make any changes, investigate that particular command, that variable, in the AutoCAD help screens and decide what works for you.
- Entering input with the keyboard and mouse
- Positioning the command line
- Hiding the command line
- Customizing command-line settings
- Typing commands
- Using dynamic input
- Navigating an AutoCAD drawing with the command line
- Using the function keys
- Entering coordinates