+ All Categories
Home > Documents > Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design....

Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design....

Date post: 18-Aug-2020
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
119
Customizing Key and Click Actions 1 Customizing Key and Click Actions Sacramento City College Engineering Design Technology
Transcript
Page 1: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 1

Customizing Key and Click Actions

Sacramento City College

Engineering Design Technology

Page 2: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Objectives

After completing this chapter, you will be able

to:

Assign shortcut keys to commands.

Explain how shortcut menus function.

Edit existing shortcut menus.

Create custom shortcut menus.

Customize an object's quick properties.

Create custom rollover tooltips.

Describe double-click actions.

Edit double-click actions.

Create custom double-click actions.

Customizing Key and Click Actions 2

Page 3: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Heads-Up Design

AutoCAD has many tools that can be used in "heads-up design.

Heads-up design

is a concept of working in which your eyes remain

focused on the drawing area.

For example, when dynamic input is on, you

do not need to look at the command line to

see the options for the current command.

The options are displayed near the cursor in

the drawing area.

Customizing Key and Click Actions 3

Page 4: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Heads-Up Design

AutoCAD's shortcut menus and double-click

actions also contribute to heads-up design.

Shortcut menus are displayed by right-clicking.

Double-click actions are initiated when an object is

double-clicked.

Customizing Key and Click Actions 4

Page 5: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Shortcut Menus

in AutoCAD (the ribbon, toolbars, etc.), shortcut menus and double-click actions can be customized.

Customizing Key and Click Actions 5

Page 6: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Enabling Shortcut Menus

In order to use the shortcut menu and double-click action customization techniques, shortcut menus and double-click editing need to be enabled.

Customizing Key and Click Actions 6

Page 7: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Enabling Shortcut Menus

To enable editing

Open Options dialog

Select the User preferences tab.

Check the Double click editing and Shortcut

menus in drawing area check boxes

Customizing Key and Click Actions 7

Page 8: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 8

Page 9: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Right-Click Menu Customization

Right-click Customization... button

Appears below the check boxes.

Displays the Right-Click Customization dialog box.

The settings in this dialog box allow you to

define what a right-click does when in

Default mode

Edit mode

Command mode.

Customizing Key and Click Actions 9

Page 10: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 10

Page 11: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Right-Click Menu Customization

For this study, pick

The Shortcut Menu radio buttons in the Default

Mode and Edit Mode areas.

The Shortcut Menu: always enabled radio button in

the Command Mode area.

Customizing Key and Click Actions 11

Page 12: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Shortcut Keys

You can define your own custom shortcut keys (accelerator keys) for AutoCAD commands and custom macros.

Customizing Key and Click Actions 12

Page 13: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Shortcut Keys

Use the CUI dialog box to define shortcut keys.

To see the commands to which shortcut keys

are assigned, expand the Keyboard Shortcuts

branch in the CIAF pane.

Customizing Key and Click Actions 13

Page 14: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 14

Page 15: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Shortcut Keys

Use the CUI dialog box to define shortcut keys.

Expand the Shortcut Keys branch.

All commands that have a shortcut key assigned

appear in this branch.

Customizing Key and Click Actions 15

Page 16: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 16

Page 17: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Shortcut Keys

When the Shortcut Keys branch is selected,

The Shortcuts pane is displayed in the upper-right

corner of the CUI dialog box.

A command that has a shortcut key assigned

to it can be selected in this pane.

Its properties are displayed in the Information pane

in the lower-right corner of the dialog box.

Customizing Key and Click Actions 17

Page 18: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Assigning a New Shortcut Key

To assign a new shortcut key to the command,

Pick in the text box labeled Press the new

shortcut key: and

Press a combination of

[Ctrl] + another key.

[Shift] + [Ctrl] + another key

Customizing Key and Click Actions 18

Page 19: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Assigning a New Shortcut Key

If the shortcut key combination is currently

assigned to another command,

The name of the other command is displayed in

the Currently assigned to: area.

If the shortcut key combination is unassigned,

Pick the OK button to associate the shortcut key

with the command.

The shortcut key then appears in the Key(s)

property in the CUI dialog box

Customizing Key and Click Actions 19

Page 20: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 20

Page 21: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Assigning a New Shortcut Key

If you attempt to assign a shortcut key that is

currently assigned to another command,

An alert box appears indicating the shortcut

assignment already exists and

Explaining the priority for using the shortcut.

Customizing Key and Click Actions 21

Page 22: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Assigning a New Shortcut Key

It is not a good idea to have a shortcut key

assigned to multiple commands.

Don’t assign Windows keyboard shortcuts !

[Ctrl]+[X] for cut

[Ctrl]+[C] for copy

[Ctrl]+[V]f or paste

Customizing Key and Click Actions 22

Page 23: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Example

Assign the shortcut key [Ctrl]+[Alt]+[C] to the

CLOSE command.

1. Open the CUI dialog box.

2. Expand the Keyboard shortcuts branch in

the CIAF pane.

3. Expand the Shortcut Keys branch.

4. Drag the Close command from the

Command List: pane into the Shortcut Keys

branch.

Make sure the command macro for the command

is ^C^C_close.

Customizing Key and Click Actions 23

Page 24: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Example

Assign the shortcut key [Ctrl]+[Alt]+[C] to the CLOSE command.

5. In the Properties pane, pick in the Key(s)

property text box.

Then, pick the ellipsis button (...) on the right-hand

side of the text box.

6. In the Shortcut Keys dialog box, pick in the

Press the new shortcut key: text box.

Customizing Key and Click Actions 24

Page 25: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Example

7. Press the [Ctrl] key, [Alt] key, and [C] key at

the same time.

The message at the bottom of the dialog box

should indicate that this shortcut key is

unassigned.

Customizing Key and Click Actions 25

Page 26: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Example

8. Pick the OK button to close the Shortcut

Keys dialog box.

9. Pick the OK button to close the CUI dialog

box and apply the change.

10. Test the [Ctrl]+[Alt]+[C] shortcut key.

When the shortcut key is used, either the current

drawing should close or you should be prompted to

save the changes to the drawing before closing

Customizing Key and Click Actions 26

Page 27: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Examining Existing Shortcut Menus

Shortcut menus

are context-sensitive menus that appear at the

cursor location when using the right-hand button

on the mouse (right-clicking).

Context sensitive

The shortcut menu that is displayed is dependent

on what is occurring at the time of the right-click.

Customizing Key and Click Actions 27

Page 28: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Examining Existing Shortcut Menus

If

no command is active

no object selection is made

you right-click in the drawing area

the shortcut menu is displayed.

Customizing Key and Click Actions 28

Page 29: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Examining Existing Shortcut Menus

If

the CIRCLE command is active and

You right-click in the drawing area before any

point is selected

the shortcut menu is displayed.

Customizing Key and Click Actions 29

Page 30: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 30

Page 31: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 31

Page 32: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Examining Existing Shortcut Menus

Other menus appear when right-clicking in

other situations

1. When grips are being used

2. When an object is selected in the drawing

window.

In the case of a selected object, the shortcut menu

is based on the type of object that is selected.

Customizing Key and Click Actions 32

Page 33: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 33

Page 34: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Examining Existing Shortcut Menus

To customize shortcut menus, Open the CUI dialog box

Look at the CIAF pane.

The name of this pane

is based on what is selected in the dropdown list.

Customizing Key and Click Actions 34

Page 35: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Examining Existing Shortcut Menus

Expand the Shortcut Menus branch in the

tree.

All of the existing shortcut menu names are

displayed as branches.

There are object-specific and generic shortcut

menus.

Customizing Key and Click Actions 35

Page 36: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 36

Page 37: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Examining Existing Shortcut Menus

Command-specific shortcut menus

Although none are included with the standard

installation of AutoCAD,

They can be created.

Customizing Key and Click Actions 37

Page 38: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Examining Existing Shortcut Menus

The generic shortcut menus are:

Command Menu.

This menu appears when right-clicking in the

drawing window while a command is active.

Any command options for the active command are

inserted into this menu.

Customizing Key and Click Actions 38

Page 39: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 39

Page 40: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Examining Existing Shortcut Menus

Edit Menu.

This menu appears when right-clicking in the

drawing window when no command is active and

an object is selected.

In order for this menu to be displayed, the

PICKFIRST system variable must be set to 1.

If an object menu is available for the type of object

selected, it is inserted into this menu.

Customizing Key and Click Actions 40

Page 41: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 41

Page 42: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 42

Page 43: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Examining Existing Shortcut Menus

Grips Cursor Menu.

This menu appears when grips are being used.

An object must be selected and at least one grip

must be hot.

Customizing Key and Click Actions 43

Page 44: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 44

Page 45: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 45

Page 46: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Examining Existing Shortcut Menus

Object Snap Cursor Menu.

This menu appears when holding down the [Shift]

key and right-clicking.

It also appears as the Snap Overrides branch in

the Command Menu branch, meaning it is

displayed as a cascading menu.

Customizing Key and Click Actions 46

Page 47: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 47

Page 48: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 48

Page 49: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Examining Existing Shortcut Menus

Default Menu.

This menu appears when right-clicking in the

drawing window while no command is active and

no objects are selected.

Customizing Key and Click Actions 49

Page 50: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 50

Page 51: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 51

Page 52: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Examining Existing Shortcut Menus

The remaining menus are object-specific

menus that appear when right-clicking while a

certain type of object is selected.

Customizing Key and Click Actions 52

Page 53: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Shortcut Menus

Customizing Key and Click Actions 53

Page 54: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Shortcut Menus

Existing shortcut menus can be customized

By adding or removing commands.

By visually grouping commands using separators.

Cascading menus

can be added to shortcut menus.

Customizing Key and Click Actions 54

Page 55: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Shortcut Menus

To add a command to a shortcut menu

Open the CUI dialog box

In the CIAF pane, expand the branch for the

shortcut menu you would like to customize.

Locate the command you wish to add in the

Command List: pane.

Then, drag the command into the desired position

within the shortcut menu in the CIAF pane and

drop it when the bar appears.

Customizing Key and Click Actions 55

Page 56: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Removing A Shortcut Menu Command

To remove a command from a shortcut menu,

Expand the branch for the shortcut menu in the

CIAF pane.

Highlight the command to be removed

Right-click

Select Remove from the shortcut menu.

Or

Highlight the command and press the [Delete] key.

Customizing Key and Click Actions 56

Page 57: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Adding A Separator

To add a separator to a shortcut menu,

Expand the branch for the shortcut menu in the

CIAF pane.

Highlight the command after which you would like

the separator to be added.

Right-click and

Select Insert Separator from the shortcut menu.

Customizing Key and Click Actions 57

Page 58: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Rename a Shortcut Menu

To rename a shortcut menu

Highlight the branch in the CIAF pane.

Right-click and

Select Rename from the shortcut menu.

Type the new name and press [Enter].

The shortcut menu can also be renamed

using the Name property in the Properties

pane.

Customizing Key and Click Actions 58

Page 59: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Add a Cascading Menu to Shortcut Menu

To add a cascading menu to a shortcut menu

Expand the branch for the shortcut menu in the

CIAF pane.

Highlight the command after which you would like

the cascading menu to appear.

Right-click and

Select New Sub-menu from the shortcut menu.

A new shortcut menu branch with the default name

of Menu is added to the current shortcut menu.

Customizing Key and Click Actions 59

Page 60: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 60

Page 61: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Add a Cascading Menu to Shortcut Menu

The new menu can be renamed.

In the Command List: pane

Locate the commands you wish to add to the new

shortcut menu.

Drag the commands into the CIAF pane.

Drop them next to the name of the new shortcut

menu.

When the arrow appears next to the new menu

name, drop the command to add it to the new

shortcut menu.

Customizing Key and Click Actions 61

Page 62: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Add a Cascading Menu to Shortcut Menu

Creating a new, custom shortcut menu

Is a two-step process.

First, make a new shortcut menu

Drag commands into it.

Customizing Key and Click Actions 62

Page 63: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

New Shortcut Menu

Follow these steps to make a new shortcut

menu:

1. Open the CUI dialog box.

2. In the CIAF pane, right-click on the Shortcut

Menus branch and

Select New Shortcut Menu in the shortcut menu

that is displayed.

3. Enter a name for the shortcut menu.

4. In the Properties pane, add a description

for the shortcut menu in the General category.

Customizing Key and Click Actions 63

Page 64: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

New Shortcut Menu

5. In the Advanced category of the Properties

pane, add an alias.

This alias is in addition to the automatic, sequential

POPSxx alias that AutoCAD creates.

Select the property, pick the ellipsis button (...) at

the right-hand end of the text box, and type the

alias in the Aliases dialog box that appears.

Each alias must be on its own line in this dialog

box.

Close the Aliases dialog box.

Customizing Key and Click Actions 64

Page 65: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

New Shortcut Menu

6. Drag commands from the Command List:

pane into the new shortcut menu.

7. Pick the Apply or OK button to apply the

changes.

Customizing Key and Click Actions 65

Page 66: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

New Shortcut Menu

There are two types of custom shortcut menus:

Object specific and

Command oriented.

The next sections describe the two types of custom shortcut menus in detail.

Customizing Key and Click Actions 66

Page 67: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Object-Specific Shortcut Menus

When creating an object-specific shortcut

menu, there can actually be two menus

available.

One menu

is displayed for instances when just a single object

of a given type is selected.

The other menu

is displayed when more than one object is

selected.

Customizing Key and Click Actions 67

Page 68: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Object-Specific Shortcut Menus

The name assigned to the object menu

should follow the same syntax used for

naming AutoCAD's default object-specific

menus:

object_type Object Menu or

object_type Obiects Menu (with an S).

Customizing Key and Click Actions 68

Page 69: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Object-Specific Shortcut Menus

In this way, when looking at the shortcut menus

in the CIAF pane in the CUI dialog box, you will

easily recognize which object type that menu

applies to and whether it is for multiple selected

objects or a single selected object.

Customizing Key and Click Actions 69

Page 70: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Object-Specific Shortcut Menus

The use of this syntax is optional.

Menus can be named using whatever naming

scheme you wish.

However, it is recommended to follow the

naming syntax described here.

The alias for the shortcut menu has a syntax

that must be followed.

It is this alias that AutoCAD uses in

determining to which object or objects the

menu applies. Customizing Key and Click Actions 70

Page 71: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Object-Specific Shortcut Menus

The syntax for the alias must take on the form

OBJECT_type or

OBJECTS_type and

Must be exactly followed in order for AutoCAD to

properly display the shortcut menu.

Customizing Key and Click Actions 71

Page 72: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Object-Specific Shortcut Menus

Example

The following procedure creates a shortcut

menu that allows access to the LENGTHEN

and BREAK commands when a single line is

selected.

Customizing Key and Click Actions 72

Page 73: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Object-Specific Shortcut Menus

1. Open the CUI dialog box.

2. Right-click on the Shortcut Menus branch in

the CIAF pane and select New Shortcut

Menu.

Customizing Key and Click Actions 73

Page 74: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Object-Specific Shortcut Menus

3. Name the shortcut menu Line Object Menu.

4. In the Properties pane, select the Aliases

property in the Advanced category.

Then, pick the ellipsis button to open the Aliases

dialog box.

On the second line, enter the alias OBJECT_LINE

and then pick the OK button to close the Aliases

dialog box.

Customizing Key and Click Actions 74

Page 75: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Object-Specific Shortcut Menus

Since the LENGTHEN and BREAK commands can

only be applied to a single object, be sure to use

the OBJECT_type syntax (without the S).

5. Drag the LENGTHEN and BREAK

commands from the Command List: pane into

the Line Object Menu branch in the

Customizations in All Files pane.

6. Pick the OK button to close the Customize

User Interface dialog box and apply the

changes.

Customizing Key and Click Actions 75

Page 76: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Object-Specific Shortcut Menus

Draw a line, select it, and right-click.

Notice that Lengthen and Break entries appear in

the shortcut menu.

Selecting either entry executes the command.

If the command accepts a preselected object, it is

executed on the selected line.

Customizing Key and Click Actions 76

Page 77: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 77

Page 78: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Object-Specific Shortcut Menus

Neither LENGTHEN nor BREAK accepts

preselected objects;

You must reselect the line.

Having the entries in the shortcut menu

provides for quicker access to the command.

Customizing Key and Click Actions 78

Page 79: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Command-Oriented Shortcut Menus

When a command is being executed, any

command options appear in the shortcut

menu.

Example

When the CIRCLE command prompts for a

radius, you can

Right-click and select Diameter from the shortcut

menu.

Customizing Key and Click Actions 79

Page 80: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Command-Oriented Shortcut Menus

Custom shortcut menus

can be created for use when certain commands

are active.

This allows you to add options to the shortcut

menu that is displayed when a command is active.

Customizing Key and Click Actions 80

Page 81: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Command-Oriented Shortcut Menus

Quicker access to object snaps and object

selection methods are just a couple of

applications that custom, command-oriented

shortcut menus could allow for within

commonly- used commands.

Customizing Key and Click Actions 81

Page 82: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Command-Oriented Shortcut Menus

A command-oriented shortcut menu is

created in the same way as an object oriented

shortcut menu, as discussed in the previous

section.

The syntax for the alias is slightly different.

The alias must be in the form of COMMAND_

command_name where command_name is

the name of the command with which you

want the shortcut menu associated.

Customizing Key and Click Actions 82

Page 83: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Command-Oriented Shortcut Menus

Also, if the command step does not have any

default options, such as

a Select objects: prompt,

Right-clicking is, by default, interpreted as the

IEnter] key.

Therefore, in the Right-Click Customization

dialog box, the Shortcut Menu: always

enabled radio button must be selected in the

Command Mode area.

Customizing Key and Click Actions 83

Page 84: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Command-Oriented Shortcut Menus

Example

The following procedure creates a custom

shortcut menu that displays

Select Previous

Select Last, and

Select Fence

selection options at the Select objects: prompt for

the MOVE command.

Customizing Key and Click Actions 84

Page 85: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Command-Oriented Shortcut Menus

1. Open the Customize User Interface dialog

box.

2. Right-click on the Shortcut Menus branch in

the CIAF pane and

select New Shortcut Menu.

3. Name the shortcut menu Move Command

Menu.

Customizing Key and Click Actions 85

Page 86: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Command-Oriented Shortcut Menus

4. In the Properties pane,

Select the Aliases property in the Advanced

category.

Pick the ellipsis button to open the Aliases dialog

box.

On the second line, enter the alias COMMAND-

MOVE

Pick the OK button to close the Aliases dialog box.

Customizing Key and Click Actions 86

Page 87: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Command-Oriented Shortcut Menus

The syntax of COMMAND_command-name must

be exactly followed in order for AutoCAD to

properly display the shortcut menu.

5. Drag the Select Previous, Select Last, and

Select Fence commands from the Command

List: pane into the Move Command Menu

branch in the CIAF pane.

6. Pick the OK button

Customizing Key and Click Actions 87

Page 88: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Creating Command-Oriented Shortcut Menus

Initiate the MOVE command.

At the Select objects: prompt

Right-click and

Notice that Select Previous, Select Last, and

Select Fence entries are available in the shortcut

menu.

Remember, the Shortcut Menu: always

enabled radio button must be on in the Right-

Click Customization dialog box for this

shortcut menu to appear.

Customizing Key and Click Actions 88

Page 89: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Quick Properties and

Rollover Tooltips

Customizing Key and Click Actions 89

Page 90: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Quick Properties/Rollover Tooltips

The Quick Properties palette

Appears, by default

When you select objects in drawing the area.

This is a streamlined version of the properties

palette that displays quick properties,

It provide certain information about the object.

In order for the Quick Properties palette to be

displayed, the Quick Properties button on the

status bar must be on.

Customizing Key and Click Actions 90

Page 91: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Quick Properties/Rollover Tooltips

The palette can also be displayed by right-

clicking with an objects elected and selecting

Quick properties in the shortcut menu so it is

clicked.

Customizing Key and Click Actions 91

Page 92: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Quick Properties/Rollover Tooltips

Rollover tooltips

Provide quick properties in a graphic tooltip.

This tooltip is displayed as the cursor is

hovered over the object .

A rollover tooltip is similar to the Quick

Properties palette, but a rollover tooltip only

provides information

Properties cannot be changed in the tooltip.

Customizing Key and Click Actions 92

Page 93: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Quick Properties/Rollover Tooltips

The information displayed in the Quick Properties palette and a rollover tooltip can be customized.

You can specify the object types that display quick properties.

Additionally, you can set which quick properties are displayed in the Quick properties palette and rollover tooltip for a given object type.

Customizing Key and Click Actions 93

Page 94: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Quick Properties/Rollover Tooltips

The left-hand column displays the object type

list, which is a list of AutoCAD object types.

You may add or remove object types

Pick the Edit Object Type List button at the top of

the column.

This displays the Edit Object Type List dialog box,

All available AutoCAD object types are listed

in this dialog box.

Customizing Key and Click Actions 94

Page 95: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Quick Properties/Rollover Tooltips

Those that are checked

Appear in the object type list in the CUI dialog box.

The object type list

controls which objects display quick properties.

The right-hand column displays a list of quick

properties that can be displayed.

The properties that are checked

appear in the Quick Properties palette or rollover

tooltip.

Customizing Key and Click Actions 95

Page 96: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Quick Properties/Rollover Tooltips

The palette and tooltip can display different

properties.

All objects have a General category

containing similar quick properties.

Customizing Key and Click Actions 96

Page 97: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Quick Properties/Rollover Tooltips

To display the General category properties for

objects that do not have defined quick

properties,

pick the General button at the bottom of the object

type list.

Customizing Key and Click Actions 97

Page 98: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Quick Properties/Rollover Tooltips

To customize the quick properties displayed

for a specific object type

Select the object in the object type list.

The category list in the right-hand column displays

all categories and quick properties available for

that object.

Check the properties that you want displayed and

uncheck the properties you do not want displayed.

Customizing Key and Click Actions 98

Page 99: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Quick Properties/Rollover Tooltips

Select the additional properties to display.

By default, the Length property is set to

display in the Geometry category, in addition

to the default settings in the General category

Additional properties have been set to display.

Once you close the CUI dialog box, the new

quick properties are displayed for a selected

line.

Customizing Key and Click Actions 99

Page 100: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Quick Properties/Rollover Tooltips

You may need to pause the cursor over the Quick Properties palette to expand the palette.

You can also right-click on the sidebar of the

Quick Properties palette and pick Auto-

Collapse in the shortcut menu to remove the

checkmark.

This allows the Quick Properties palette to

fully display each time it appears.

Customizing Key and Click Actions 100

Page 101: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Double-Click Actions

Customizing Key and Click Actions 101

Page 102: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Double-Click Actions

By double-clicking on certain objects, an appropriate editing command is automatically executed.

The command is determined by the double-click action associated with the object type.

Customizing Key and Click Actions 102

Page 103: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Double-Click Actions

Some AutoCAD objects have very specific editing tools available.

For example, multiline text objects are edited

with the in-place text editor and polylines are

edited with the PEDIT Command.

Customizing Key and Click Actions 103

Page 104: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Double-Click Actions

A list of AutoCAD objects that have default double-click actions associated with them, other than the QUICKPROPERTIES command, is shown on the next slide.

Customizing Key and Click Actions 104

Page 105: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Key and Click Actions 105

Page 106: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Customizing Double-Click Actions

If you double-click on one of the object types

listed in the table, the command or macro

listed in the Associated Double-Click Action

column is executed.

If the object type is not listed in the table, it is

likely the Quick Properties palette is

displayed, by default, when the object is

double-clicked.

This is the double-click action associated with

most objects.

Customizing Key and Click Actions 106

Page 107: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Assigning Double-Click Actions

Customizing Key and Click Actions 107

Page 108: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Assigning Double-Click Actions

Double-click actions are assigned to specific

object types in the CUI dialog box.

In the CIAF pane, expand the Double Click Actions

branch.

All of the AutoCAD object types are listed.

Expand each branch and notice that many double-

click actions call the Quick Properties palette, while

the objects listed in the table have double-click

actions that call the object-specific editing

command.

Customizing Key and Click Actions 108

Page 109: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Assigning Double-Click Actions

Use the following procedure to change the

double-click editing action associated with an

object type.

For this example, the DDPTYPE command

will be associated with the point object type so

the Point Style dialog box appears when a

point object is double-clicked.

Customizing Key and Click Actions 109

Page 110: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Assigning Double-Click Actions

1. Open the Customize User Interface dialog

box.

2. In the CIAF pane, expand the Double Click

Actions branch.

3. Expand the Point branch under the Double

Click Actions branch.

Notice that the QUICKPROPERTIES command is

associated with the point object type.

Customizing Key and Click Actions 110

Page 111: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Assigning Double-Click Actions

4. In the Command List: pane, select the Point

Style... command.

This is the DDPTYPE command, as indicated in

the Properties pane when the command is

selected.

5. Drag the Point Style... command from the

Command List: pane and drop it into the Point

branch in the CIAF pane.

The command replaces the existing command as

there can only be one double-click action.

Customizing Key and Click Actions 111

Page 112: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Assigning Double-Click Actions

6. Pick the OK button to apply the change.

Now, draw a point using the POINT

command.

Double-click on the point and the Point Style

dialog box appears.

Select a new point style in the dialog box and pick

the OK button.

All existing points in the drawing should update to

the new style.

If not, use the REGEN command to update the display.

Customizing Key and Click Actions 112

Page 113: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Custom Double-Click Action

You can also create a custom command and assign it to an object type as a double click action.

In this section, you will create a custom

command for editing the radius of a circle to

one-half of its current value when the circle is

double-clicked.

Customizing Key and Click Actions 113

Page 114: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Custom Double-Click Action

Here is a breakdown of what the custom

command will do:

Cancel any commands in progress. (^C^C)

Execute the SCALE command with the circle that

was double-clicked being the object to be scaled.

(scale;)

Set the center of the circle, which is the point last

created, as the base point. (@;)

Scale the circle to half of its original size. (0.5)

Customizing Key and Click Actions 114

Page 115: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Custom Double-Click Action

This can be a handy tool should you

accidentally enter the intended diameter in

response to the radius prompt for the CIRCLE

command.

On noticing you just made that mistake,

double-click the circle and the problem is

fixed.

Customizing Key and Click Actions 115

Page 116: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Example

Create a custom command and assign it as a double-click action for the circle object type:

1. Open the CUI dialog box.

2. Pick the Create a new command button in

the Command List: pane.

3. Name the custom command CirRadToDia.

Customizing Key and Click Actions 116

Page 117: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Example

4. In the Properties pane, select the Macro

property. Then, enter the macro

^C^Cscale;@;0.5

in the text box.

5. In the CIAF pane, expand the Double Click

Actions branch and locate the Circle branch

below it.

Notice that the OUICKPROPERTIES command is

currently associated with the circle object type.

Customizing Key and Click Actions 117

Page 118: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Example

6. In the Command List: pane, select the new

CirRadToDia command and drag it into the

Circle branch in the CIAF pane.

7. Pick the OK button to close the Customize

User Interface dialog box and apply the

change.

Customizing Key and Click Actions 118

Page 119: Customizing Key and Click Actions...AutoCAD has many tools that can be used in "heads-up design. Heads-up design is a concept of working in which your eyes remain focused on the drawing

Example

Draw a circle using the CIRCLE command.

Double-click on the circle. The circle becomes

one-half of its original size.

In other words, the previous radius value is

the new diameter value.

Customizing Key and Click Actions 119


Recommended