Join Shaun Bryant for an in-depth discussion in this video Sub-menus, part of AutoCAD: Using the Command Line (2016).
- Last but not least for this section where we are using the command prompt, we're going to have a quick look at submenus in the command line. Now submenus can be brought up on the right-hand mouse button as well, and they are context-sensitive. So if we're going to a particular command and I right-click I get a context-sensitive shortcut menu, and it's the same down on the command line when you're using the command line in AutoCAD as well. Now we're staying in the 04_Prompt.dwg file as usual for this particular section, and what we're going to do now is look at submenus.
Now the good thing is one of the best commands for submenus that I can show you that is quick and easy and is used regularly is the Polyline command. I'll bring the crosshair just up there to the sort of top middle of the screen, and I'll type p l for Polyline like so. Now because my dynamic input is off, it automatically selected the command line. So I need to hit Escape a couple of times to make sure that dynamic input is on down here, then I bring the crosshair up, P L, and there's the Polyline command.
I select it on the suggestion menu, or I can just press Enter, either way it starts up the Polyline command. So there's the Polyline command there. Now I'm going to just start drawing in the center of the room of my little building I've got in the drawing, and I'm not going to worry about what layer it's on or anything like that at all, I just want to start the Polyline command. If I click, say, there, as soon as I click there, can you see I've got the submenu kick in on the command line, and it automatically sizes the command line for Arc, Halfwiidth, Length, Undo, and Width.
Now also, if I now just drag across, you can see that there's my Polyline starting to take shape. So if I put the crosshair about there and right-click, there's the Arc, Halfwidth, Length, Undo, and Width there on the Shortcut Menu. Now I'll just press Escape once, like so. Now the good thing is because I've got dynamic input on, and I've also got the command line on, I can either right-click and use the shortcut menu, or, one of the benefits you have in AutoCAD 2016 is I can now come down here, and physically click on that Arc part of the submenu there or I can just type the A as it's highlighted in blue.
So if I click on Arc now, as you can see, the Polyline converts to an arc segment, so I'll just drag that up with there, let's say, by 500, and press Enter, and there's my Arc segment of my Polyline. Now what I might want to do there is zoom in a bit, so I'll just use the wheel on the mouse to zoom in, and then I've got another submenu. So what I want to do now is go back to Line mode, I come down here to the command line and click, or i can type L and press Enter, and I'm now back in the Line mode as you can see like that.
So I'll press 250 then and press Enter again. Now, what I can do now, is I can type A for Arc and press Enter, and it goes into Arc mode for me. I'll come down and just line that in like so, so I just hold it there, drag that across the line in and click, then I'll need to go back to the Line mode again, just to close out that Polyline or what I could do is just type C L Enter, and that closes my Polyline. And there's my new Polyline there, OK, it's on the Layer Windows, as you can see there, but I've drawn a Polyline and I've utilized the command line and the submenus on the command line.
Now those submenus, like I said, are also available on the right-hand mouse button on the Shortcut menu as well, whenever you're working in the Polyline command. And as I've said, ad nauseum, I hasten to add, in various other videos I'm not trying to tell you how to use AutoCAD. What I'm trying to show you here is all the different methods where you can use AutoCAD and become more effective and more productive. I'm not telling you what to do, what I'm doing is showing you the different process workflows you can use, that you then find the one that you're comfortable with when you're using the command line in AutoCAD, and hence to become more effective and more productive.
- 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