Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

AutoCAD & AutoCAD LT All-In-One Desk Reference For Dummies (2006)

.pdf
Скачиваний:
90
Добавлен:
17.08.2013
Размер:
17.7 Mб
Скачать

602 Organizing Your Space

All of the tools that are on the Workspaces toolbar, except for the My Workspace tool, can be found under Window Workspaces.

Creating a new Workspace

Follow this procedure to create a new Workspace using the Workspaces toolbar.

1.If the Workspaces toolbar is not displayed, right-click on one of the toolbars that is displayed and select Workspaces.

The Workspaces toolbar is displayed.

2.Move some of the toolbars and dockable windows around on-screen.

By moving some of the toolbars and dockable windows, you should be able to tell whether the changes have been saved to the new Workspace.

3.On the Workspaces toolbar, select Save Current As from the dropdown list.

The Save Workspace dialog box is displayed.

4.In the Save Workspace dialog box, enter a name for the new Workspace in the Name text field and click Save.

The new Workspace is saved to the main customization file and added to the drop-down list on the Workspaces toolbar. An entry for that Workspace is also added under Window Workspaces.

5.Switch between different Workspaces from the drop-down list to see how they are different.

Saving changes to an existing Workspace

To update an existing Workspace, follow the same steps that were in the previous section, “Creating a new Workspace.” Instead of entering a name in the Name text field in Step 4, select an existing Workspace name from the dropdown list. Then click the Save button to update the Workspace.

Using the Customize User Interface editor

The Customize User Interface (CUI) editor offers a full range of control over Workspaces, unlike the Workspaces toolbar. The one thing that you can’t define using the CUI editor is which Workspace is displayed when the My Workspace button on the Workspaces toolbar is clicked.

From the CUI editor, you can do the following:

Create a Workspace. The Customizations In pane allows you to create a new Workspace.

Organizing Your Space 603

Manage Workspaces. The Customizations In pane allows you to rename, delete, and set a Workspace current, among other options.

Transfer Workspaces. The Transfer tab allows you to transfer Workspaces between two different CUI files.

Display and Order Pull-Down Menus. The Workspace Contents pane allows you to specify which pull-down menus from the loaded CUI files are displayed on the menu bar area of AutoCAD and the order they appear in.

Display and Position Toolbars. The Workspace Contents pane allows you to specify the location of a toolbar and which ones should be visible when the Workspace is set current.

Display and Position Dockable Windows. The Workspace Contents pane allows you to specify the location of a dockable window and which ones should be visible when the Workspace is set current, along with some other properties specific to a dockable window.

Other User Interface Options. The Properties pane allows you to specify additional user interface settings to control the display of scroll bars and model and layout tabs, among other settings.

Creating a new Workspace

Follow these steps to create a new Workspace using the CUI editor:

1.From the menu bar, choose Tools Customize Interface.

The Customize User Interface (CUI) editor is displayed.

2.In the Customize User Interface editor, click the Customize tab along the top.

The Customize tab is set current.

3.In the Customizations In pane, right-click the Workspaces node and choose New Workspace.

The Workspaces node expands and a new Workspace is added named

Workspace1.

4.Enter a new name for the Workspace in the text field or change the default name under the Properties pane.

The Workspace is renamed.

5.Click Customize Workspace under the Workspace Contents pane.

The Workspace is now opened for editing.

6.Under the Customizations In pane, expand the Toolbars and Menus nodes. After the nodes are expanded, select the toolbars and pulldown menus you want displayed when the Workspace is set current.

Book IX

Chapter 2

CustomizingInterface the

604 Organizing Your Space

As you select toolbars and pull-down menus from the Customizations In pane, they are added to the Workspace under the Workspace Contents pane.

7.Click Done under the Workspace Contents pane after you have added the desired toolbars and pull-down menus to the Workspace.

The changes are saved to the Workspace.

8.Click OK.

The changes are saved to the main CUI file.

Changing the order of pull-down menus

Follow these procedures to reorder the pull-downs that are part of a Workspace:

1.From the menu bar, choose Tools Customize Interface.

The Customize User Interface (CUI) editor is displayed.

2.In the Customize User Interface editor, click the Customize tab along the top.

The Customize tab is set current.

3.In the Customizations In pane, click the plus sign next to the Workspaces node to expand it.

The Workspaces node should expand, revealing the Workspaces that exist in the main CUI file.

4.Select the Workspace in which you want to change the pull-down menu order.

The Workspace Contents pane is displayed, allowing you to make changes to the properties of the associated toolbars and pull-down menus.

5.In the Workspace Contents pane, click the plus sign next to the Menus node.

The associated pull-down menus are displayed under the Menu node.

6.Select the pull-down menu you want to reposition. Keep holding down the mouse button and drag it to its new position.

A horizontal indicator is displayed between the pull-down menus to show where the pull-down menu being dragged will be placed when the mouse button is released.

If you move the CUI editor so that you can see the menu bar along the top of AutoCAD, you can click Apply to see the pull-down menus change positions without needing to exit the CUI editor first.

Organizing Your Space 605

7.Click OK.

The changes are saved to the main CUI file.

Other Workspace settings

Follow these procedures to adjust some of the other properties for the Workspace.

1.From the menu bar, choose Tools Customize Interface.

The Customize User Interface (CUI) editor is displayed.

2.In the Customize User Interface editor, click the Customize tab along the top.

The Customize tab is set current.

3.In the Customizations In pane, click the plus sign next to the Workspaces node to expand it.

The Workspaces node should expand, revealing the Workspaces that exist in the main CUI file.

4.Select the Workspace you want to change properties for.

The Properties pane is displayed, allowing you to access the properties for a Workspace.

5.Change the properties for the Workspace as desired.

The Properties pane contains many different properties that control some of the different user interface elements.

If you select one of the rows in the Properties pane for the Workspace, a brief description appears in the lower portion of the pane for the selected row. This gives you an idea of what the property is used for, if you are unsure about it.

6.Click OK.

The changes are saved out to the main CUI file.

Maximizing the drawing space

AutoCAD displays tools such as toolbars, pull-down menus, and the status bar throughout the user interface so you can quickly access different drafting tools as they are needed. At times, you might not need these tools and might instead want more space to work with. AutoCAD offers a tool to suppress the display of some of the user interface elements so you have more drawing real estate; this tool is called Clean Screen.

Book IX

Chapter 2

CustomizingInterface the

606 Organizing Your Space

Clean Screen does exactly what the name suggests: gives you a clean screen to work with. It maximizes AutoCAD and turns off all the toolbars and dockable windows and even hides the caption bar along the top of AutoCAD. The pull-down menus are still available along with the command line.

To use the Clean Screen tool, use one of the methods listed below:

View menu: Click View on the menu bar, and then move your mouse pointer down to Clean Screen and click.

Icon Tray: Click the Clean Screen icon on the status bar.

Shortcut key: Press Ctrl+0 (zero).

Keyboard input: Type CLEANSCREENON on the command line and press Enter. Typing CLEANSCREENOFF returns AutoCAD to its previous state.

Chapter 3: Customizing the Tools

In This Chapter

Getting to know the Customize User Interface editor

Customizing toolbars, menus, and shortcut keys

Customizing double-click actions

Migrating and transferring customization

Working with partial and enterprise customization files

AutoCAD customization goes beyond just being able to change the appearance of the application window or controlling the regeneration

process of a drawing. AutoCAD allows you to create your own toolbars, pulldown menus, and shortcut keys, among other user interface elements. This flexibility allows you to further integrate AutoCAD into your workflow and to manage CAD standards.

To customize the user interface, you use the Customize User Interface (CUI) editor. The CUI editor is a graphical editor that reads and writes to customization files, which have a file extension of .CUI. The CUI editor and .CUI file format were first introduced with AutoCAD 2006.

How Customizing the User Interface Has Changed

Users have been able to customize the user interface dating all the way back to AutoCAD R13 and even earlier versions. Since then, many additions, including toolbars and shortcut keys, have been made to the user interface, but one thing has always remained consistent: Customization was done via editing a plain text file with a text editor. That all changed with the introduction of AutoCAD 2006 and the .CUI file format.

If you are relatively new to AutoCAD, you might not know much about previous releases of the software. Those of you who have done some menu customization with AutoCAD 2005 and earlier versions are familiar with the file types .MNU, .MNS, .MNC, and .MNR. The .CUI file format replaced the .MNU,

.MNS, and .MNC file formats.

608 Getting to Know the Customize User Interface Editor

Getting to Know the Customize User Interface Editor

The Customize User Interface (CUI) editor (see Figure 3-1) is a graphically based editor that allows you to customize many of the user interface elements, such as toolbars and pull-down menus. It is also designed to allow you to migrate and transfer existing menu customization into the latest release of AutoCAD. In the next few sections, we cover the different panes of the CUI editor, launching the CUI editor, and some of the basics involved with customizing the AutoCAD user interface. The CUI editor has three main panes: Customizations In pane, Command List pane, and Dynamic pane. The Dynamic pane covers the entire right side of the Customize tab of CUI editor and is the most active pane — it displays information and properties for the selected item in the Customizations In or Command List pane.

Figure 3-1:

The Customize User Interface (CUI) editor.

The Customizations In pane

In Customizations In pane (see Figure 3-2), you can access the user interface elements of any of the loaded customization files in the CUI editor. Two different base customization files can be loaded: main and enterprise customization files. The main and enterprise customization files can load additional menus known as partial customization files. Enterprise and partial customization files are designed to make managing and sharing customization files

Getting to Know the Customize User Interface Editor 609

with multiple users easier. Each of the loaded customization files can contain any number and type of user interface elements, such as toolbars, pull-down menus, shortcut keys, and so on. The main and enterprise customization files can be specified under the Customization Files node of the Files tab in the Options dialog box. For more information on partial and enterprise customization files, see the section “Working with Partial and Enterprise Customization Files” later in this chapter.

Figure 3-2:

The Customizations In pane.

The top of the pane contains tools that allow you to open a customization file, load a partial customization file, save changes to all the current customization files, and control which user interface elements are displayed in the tree view for all the loaded customization files. The tree view under the Customizations In pane is where you create new user interface elements such as toolbars and pull-down menus. The tree view allows you to add commands to a user interface element and control the order in which they appear after the CUI editor is closed.

The Command List pane

The Command List pane (see Figure 3-3) is where you find all the commands that are used in the CUI file. This is one of the changes over previous releases of AutoCAD, and it is a good change. In previous releases, if you wanted to use the same command for a toolbar button, a pull-down menu item, and a shortcut key, you would duplicate that command macro three times. If you needed to make a change to the macro, you had to change it three separate times. In the .CUI file format, the command is maintained in a central location and is referenced by the toolbar, pull-down menu, and shortcut key. You only have to make the change once.

Book IX

Chapter 3

Customizingthe

Tools

610 Getting to Know the Customize User Interface Editor

Figure 3-3:

The

Command

List pane.

The Command List pane is also where you go when you want to add a command onto a toolbar. To add the command to a toolbar, you drag it from the Command List pane and drop it onto the correct node under the Toolbars node. Along the top of the Command List pane is a drop-down list of categories that filter the commands displayed in the Command List pane.

The Dynamic pane

The Dynamic pane runs the entire right side of the CUI editor and reacts to what you select under the Customizations In and Command List panes. The Dynamic pane can display a number of different panes based on what is selected on the left side of the CUI editor. Here is an overview of each of the different panes that can be found under the Dynamic pane:

Information: The Information pane provides an overview of what each top-level node does in the Customizations In pane. The Information pane is available only when a top-level node in the Customizations In pane is selected, or when one of the nodes under Keyboard Shortcuts or Legacy is selected.

Button Image: The Button Image pane (see Figure 3-4) allows you to access and select one of the preloaded images for a button or create a new image. The Button Image pane is active when a command is selected below one of the nodes in the Customizations In pane or in the Command List pane.

Figure 3-4:

The Button

Image pane.

Getting to Know the Customize User Interface Editor 611

Preview: The Preview pane allows you to get an idea of what a toolbar will look like before you close the CUI editor. The Preview pane is only available when a toolbar is selected under the Toolbars node of the Customizations In pane.

Properties: The Properties pane (see Figure 3-5) allows you to adjust the properties of a selected item in the CUI editor. The properties that can be edited change based on the item selected in the Customizations In pane.

Figure 3-5:

The Properties pane.

Shortcuts: The Shortcuts pane provides you with an overview of all the shortcut and temporary override keys that have been set up and also allows you to produce a hard copy of the keys or to copy the list to the Windows Clipboard.

Workspace Contents: The Workspace Contents pane allows you to customize which toolbars, pull-down menus, and dockable windows should be displayed when the workspace is set current. The pane is also used to control the order of how the pull-down menus should appear on the menu bar.

Launching the Customize User

Interface (CUI) editor

To launch the CUI editor, use one of these methods:

Tools menu: Choose Tools Customize Interface.

Keyboard input: Type CUI at the command line and press Enter.

Right-click the shortcut menu: Right-click a toolbar and click Customize from the shortcut menu that appears.

Book IX

Chapter 3

Customizingthe

Tools