Training Your Toolbars and Dockable Windows to Stay 593
1.At the command line, type MODEMACRO.
AutoCAD displays the command prompt:
Enter new value for MODEMACRO, or . for none <””>:
Enter the DIESEL expression that you want evaluated and displayed on the status bar, or enter just a period (.) at the command prompt to end the evaluation of the current DIESEL expression and to reset the value back to no DIESEL expression (“”). Then press Enter to start evaluation.
2.AutoCAD updates the status bar with the results of the DIESEL expression or returns an error message (see Figure 2-5) in its place.
The figure shows that the + function can’t be evaluated by displaying $(+, ??) on the status bar. This is because a string (A) can’t be added to a number (2).
Figure 2-5:
Oops, the + function isn’t evaluating correctly.
Training Your Toolbars and Dockable Windows to Stay
Have you ever tried to click a toolbar or dockable window (palette) only to accidentally move it? This can cause all sorts of cascading effects to happen: The toolbars can be rearranged or the toolbar or dockable window can even disappear off the screen. Most of us like everything to stay as it is after we come up with the perfect layout of toolbars and windows.
This is where the user interface (UI) lock option comes into play. With the UI lock option, you can make toolbars and dockable windows that are floating or docked stay put on-screen. When the option is turned on, you can’t accidentally move them from their current position. This is especially useful if you are using a dual monitor setup, where you might have the toolbars and dockable windows on a separate monitor.
Locking UI toolbars and dockable windows
To lock toolbars and dockable windows, use one of these methods:
Window menu: Choose Window Lock Location and select one of the available options.