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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Special characters used in macros<br />

Character<br />

^R<br />

^T<br />

^V<br />

^Z<br />

Quick Reference<br />

Commands<br />

CUI<br />

Description<br />

Turns command versioning on or off. Command versioning is required<br />

for some commands to ensure command macros written in an older<br />

release work properly in the latest release.<br />

Turns tablet on or off (equivalent to Ctrl+T)<br />

Changes the current viewport<br />

Null character that suppresses the automatic addition of SPACEBAR<br />

at the end of a command<br />

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

TEXT<br />

Creates a single-line text object.<br />

Pause for User Input in Macros<br />

To accept input from the keyboard or pointing device in the middle of a<br />

command, place a backslash (\) in the macro at the point where you want<br />

input.<br />

circle \1<br />

In the circle example, \1 pauses for the user to specify the center point and<br />

then reads a radius of 1. Note that there is no space after the backslash.<br />

-layer off \;<br />

In this example, the macro starts -LAYER at the command prompt, enters the<br />

Off option (off), and then pauses for the user to enter a layer name (\). The<br />

macro then turns that layer off and exits the -LAYER command (;).<br />

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

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

Saved successfully!

Ooh no, something went wrong!