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.

Quick Reference<br />

Commands<br />

CUI<br />

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

How <strong>Customization</strong> Has Changed<br />

Although the basic customization techniques remain the same as in previous<br />

versions of the product, the environment that you use to customize the product<br />

was changed starting with AutoCAD 2006.<br />

All of the previous customization options are still available. You are still able<br />

to create, edit, and delete interface elements; you can create partial<br />

customization files; you can use macros and DIESEL expressions.<br />

However, you no longer perform customization tasks by creating or editing<br />

MNU or MNS text files by hand. All customizations are done through the<br />

program interface, in the Customize User Interface (CUI) Editor.<br />

Menu Files Versus <strong>Customization</strong> Files<br />

In releases prior to AutoCAD 2006, you customized the user interface by editing<br />

an MNU or MNS file in an ASCII text editor such as Notepad. You manually<br />

entered and verified customization data in the text file, which could be a<br />

tedious and error-prone process. As a result, a simple syntax error (such as<br />

mismatched parentheses) in the text file could invalidate the entire menu file,<br />

leading you back to the text file to investigate where you made the error.<br />

With the Customize User Interface (CUI) Editor, you drag a command to a<br />

menu or toolbar or right-click to add, delete, or modify a user interface element.<br />

The Customize User Interface (CUI) Editor displays element properties and a<br />

list of options to choose from. This prevents you from creating syntax errors<br />

or spelling mistakes that may have occurred when you manually entered text<br />

in an MNU or MNS file.<br />

The MNU and MNS files used in the past have been replaced with just one<br />

file type, the XML-based CUIx file. CUIx is the successor to the CUI file format<br />

which was introduced in AutoCAD 2006.<br />

The XML-based format of the CUIx file allows the product to track<br />

customizations. When upgrading to a future version of the program, all of<br />

your customizations are automatically integrated into the new release. The<br />

XML format also supports a backward-compatible customization file. This<br />

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

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

Saved successfully!

Ooh no, something went wrong!