Join Shaun Bryant for an in-depth discussion in this video Using the F2 key, part of AutoCAD: Using the Command Line (2016).
- We're now in another section of our Using the Command Line in AutoCAD course. What we're going to look at now is how we can utilize the function keys on our keyboard to work in conjunction with the command line in AutoCAD. And we're also going to look at how the options settings in AutoCAD can actually change the settings and overrides in the command line, as well. Now to do this, we've set up another new drawing for you, which is 08_Function Keys.dwg.
And it's a 2013 .dwg file, so the same restrictions about which particular versions you use still apply. And you'll find that in your lynda.com exercise files. Now it is the same drawing. The only reason that we have a drawing available is primarily so that we've got a live AutoCAD drawing to work with when we're utilizing the command line. So let's have a look now at how we can use the F2 key on the keyboard to expand the command line, to utilize it and take information from the command line to perhaps transfer into a different application.
So we're working in our AutoCAD drawing at the moment. And what I want to do is, I want to measure a distance in AutoCAD. So I'm going to use a keyboard shortcut down on the command line. Now you'll notice that my Dynamic Input is still off, I'm not using Dynamic Input at all at the moment. So I'm clicking the command line, and I type DIST, which is distance, the distance command. I press enter, come into the drawing area now, and you'll notice I've got a little question mark there on the crosshairs. Now, my object snaps are still on.
I'm going to select this Endpoint snap here, click, take it across to this Endpoint snap here, and click. Now you'll see it flash up with the distance there, which is 5500 millimeters, because it's a metric drawing, so that's five and a half meters. But, it has that standard fade thing going on with the command line, so I lose that information. Now I haven't lost it completely. What I can do, is I can go to the F2 key on the keyboard, and it expands out the command line. And there's my 5500 there, so I highlight it, like so, and what I can do now is I can right-click on that, and I can copy it to the Windows clipboard, like so.
So you'll notice, I still get all my other command line shortcut menu commands, a la Input Settings and Lines of Prompt History and so on. So there's my Lines of Prompt History there. I can change the value if I want to. But I'm going to copy that now, to the Windows clipboard, and it's now available to me to drop into something like an Excel spreadsheet, or a Word document, if I need it. If I want to lose that expanded command line, I just press the F2 key again, and it goes back to normal. So that's how I can utilize that F2 key to expand out the command line and use information that may have popped up in a couple of commands previous.
- 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