Many resources are available for the AutoCAD
To start with, check out the
alt.cad.autocad
newsgroup that is devoted to AutoCAD users. Next, check out the many discussion groups found on the
discussion.
These newsgroups offer a forum for you to discuss your AutoCAD questions and problems with other users. Most Internet browsers let you access newsgroups. Internet Explorer doesn't allow you to join some newsgroups, so if you find that you cannot connect to a newsgroup, try Outlook Express. Another alternative is to use the Mozilla browser, which can be downloaded at www.mozilla.org.
The Autodesk discusion groups can be used with any browser. To get to the Autodesk discussion groups,
Also, check out the Sybex website at www.sybex.com for the latest information on more great books on AutoCAD. Finally, visit my own site ” www.omura.com ”for information concerning this and other books, files, and links to other AutoCAD resources.
Try to think of some other keyboard macros you would like to create. For example, you might try to create a macro that copies and rotates an object at the same time. This operation is a
Here are some hints to get you started:
Use the Copy command to copy an object in place.
Use the same coordinate for the base point and the second point (for example, 0,0).
Use the Last Selection option to rotate the last object selected, which happens to be the original object that was
AutoCAD offers a high degree of flexibility and customization, enabling you to tailor the software's look and feel to your requirements. In this chapter, you will see how to customize AutoCAD so that it integrates more smoothly into your workgroup and office environment.
The first part of the chapter shows how to adapt AutoCAD to fit your particular needs. You will learn how to customize AutoCAD by modifying its
You'll then take a look at some general issues that arise when you use AutoCAD in an office. In this discussion you might find help with some problems you have
The most direct way to adapt AutoCAD to your way of working is to customize the toolbars. Auto- CAD offers new users an easy route to customization through the Customize dialog box. With the Customize dialog box, you can create new toolbars, customize tools, and even create new icons. You can also create keyboard shortcuts. In this section, you'll discover how easy it is to add menu and toolbar features to AutoCAD.
Throughout this book, you've used the toolbar shortcut menu to
Let's take a look at what it has to offer:
Right-click the Draw toolbar and then choose Customize from the shortcut menu to open the Customize dialog box.
Click the Toolbars tab. You see a Toolbars list to the left and a Menu
In the Toolbars list, click the Inquiry check box to display the Inquiry toolbar. (You might have to move the Customize dialog box to see the Inquiry toolbar.)
As you have just seen, you can use the Customize dialog box to open a toolbar, but toolbars behave in a different way when you have the Customize dialog box open, as you'll see in the
Click the Distance tool in the Inquiry toolbar to open the Customize dialog box at the Button Properties tab. You see the properties of the Distance tool.
Click the Line tool in the Drawing toolbar. The information in the Button Properties tab changes to show you the properties of the Line tool.
Click the Close button to close the Customize dialog box.
As you can see from this exercise, when you click tools in the Customize dialog box, they display their properties instead of performing their usual function. This enables you to change the tools' behavior and appearance.
Let's take a moment to look at the contents of the Button Properties tab. At the top, you see the name of the tool in an input box. You can use this
Below the Name input box is the Description input box. Here you can enter a full description of the tool. The description you enter appears in the status bar at the bottom of the AutoCAD window whenever you point to the tool.
The heart of the Button Properties tab is the Macro Associated With This Button input box. This input box contains the explicit instructions that AutoCAD is to execute when the tool is selected. For the Line tool, you see ^C^C_line . The two ^C s are a special AutoCAD menu notation indicating the Esc key. In other words, the presence of the ^C s in the macro is the same as pressing the Esc key. Two are used to ensure that AutoCAD returns to the command prompt even if it is in the middle of another command.
The two
^C
s are followed by the
line
command. You enter this command in the macro just as you would enter it through the keyboard, with the exception of the underline at the beginning. The underline is a special AutoCAD menu notation that ensures that the command is
Finally, to the right on the Button Properties tab, you see an enlarged version of the tool icon. Just below the icon, you see a set of predefined icons. When you create your own custom tools, you can select an icon from the set of predefined ones, or you can select the Edit button to create your own custom icon.
Now you've seen how to gain access to the properties of existing tools. In the next sections, you'll learn how to create new toolbars and tools.
| Tip |
Typically, AutoCAD stores menu bar options, toolbars, and
|
You might find that instead of using one toolbar or flyout, you are moving from flyout to
Here's how it's done:
Right-click any icon in any toolbar and then choose Customize from the shortcut menu to open the Customize dialog box.
Click the Toolbars tab and then select Custom from the Menu Group list. You'll add your custom menu features to the Custom menu group. This helps keep your personal custom entries in a separate part of the AutoCAD menu system.
Click the New button to open the New Toolbar dialog box.
Enter My Toolbar in the Toolbar Name input box and then click OK. A small, blank toolbar appears in the AutoCAD window. (You might need to move the Customize dialog box to view the new toolbar.)
Notice that My Toolbar appears in the Toolbars list box. You can now begin to add buttons to your toolbar.
In the Customize dialog box, click the Commands tab and look at the Categories list. Notice that it contains the
Choose Draw from the list. The Commands list box to the right displays all the tools available for the Draw pull-down menu. If you scroll down the Commands list, you'll notice that it offers several additional arc and circle tools not found in the Draw toolbar.
Click the first tool at the top of the list: the Line tool. You'll see a description of the tool in the Description box below the Categories list box. You'll also see a tip in the lower-right corner telling you what you can do with the selected option.
Click and drag the Line tool from the Commands list into the new toolbar you just created. The Line tool now appears in your toolbar.
Click and drag the Arc Start End Direction tool to your new toolbar. You will have to scroll down the Commands list to get to Arc Start End Direction.
Close the Customize dialog box.
You now have a custom toolbar with two buttons. You can add buttons from different categories if you like. You are not restricted to buttons in one category.
| Tip |
If you need to remove a tool from your toolbar, click and drag it out of your toolbar into the blank area of the drawing. Do this while the Customize dialog box is open. |
AutoCAD treats your custom toolbar just like any other toolbar. It appears when you start AutoCAD and remains until you close it. You can recall it by using the steps in the first exercise in this chapter.
|
|
Opening toolbars from the command line can be
At the command prompt, type
“Toolbar
. (Don't forget to include the minus sign at the beginning of the Toolbar command.)
At the Enter toolbar Name or [All]: prompt, enter the name of the toolbar you want to open.
At the
Enter an option [Show/Hide/Left/Right/Top/Bottom/Float] <Show>:
prompt, press
. The toolbar appears on the screen.
A typical button macro for opening a toolbar might look like this:
^c^cToolbar[space]inquiry[space][space]
Here, the [space] is added for clarity. You would press the spacebar in its place. This example shows a macro that opens the Inquiry toolbar. You can use the name shown in the toolbar shortcut menu to specify the name of the toolbar in the command-line version of the Toolbar command. For compound names such as Object Snap, you need to add an underline between the two words in the name: Object_Snap.
As the prompt in step 3 indicates, you can specify the location of the toolbar by left, right, top, or bottom. Float lets you specify the location and number of rows for the toolbar.
|
|