03.01.2013 Views

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

Customization Guide (.pdf) - Documentation & Online Help - Autodesk

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

To assign or modify a command macro<br />

1 Click Manage tab ➤ <strong>Customization</strong> panel ➤ User Interface.<br />

2 In the Customize User Interface Editor, Customize tab, Command List<br />

pane, locate the command you want to assign (or modify) a command<br />

macro.<br />

3 In the Properties pane, select the Macro field and click the [ ] button that<br />

is displayed.<br />

The Long String Editor dialog box is displayed.<br />

4 In the Long String Editor, edit the macro as desired and click OK.<br />

You are returned to the Customize User Interface Editor.<br />

Quick Reference<br />

Commands<br />

CUI<br />

Manages the customized user interface elements in the product.<br />

Use Special Control Characters in Macros<br />

You can use special characters, including control characters, in macros. In a<br />

macro, the caret (^) is equivalent to pressing the Ctrl key on the keyboard.<br />

You can combine the caret with another character to construct macros that<br />

do such things as turn the grid on and off (^G) or cancel a command (^C).<br />

The macro for the Address command below uses the backslash (\) to pause<br />

for user input and the semicolon (;) for ENTER.<br />

text \.4 0 DRAFT Inc;;;Main St.;;;City, State;<br />

The macro starts the TEXT command, pauses for the user to specify a start<br />

point, and then enters the address on three lines. In the triple semicolon (;;;),<br />

the first semicolon ends the text string, the second repeats TEXT, and the<br />

third accepts the default placement below the previous line.<br />

104 | Chapter 4 User Interface <strong>Customization</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!