Monday, July 7, 2008

Double Click Dimensions to Edit


How many of you use the command ddedit to modify the text in your dimensions? Want an easier way? If you have Autocad 2006, 2007, 2008, or 2009 you can use the CUI (custom user interface) to access the doubleclick actions for various entities.
Note: Prior to changing the CUI you should always export the Autocad Default CUI file to a safe place (or at least copy it) and create your own named CUI file to work on.

figure 1.

Type CUI in the command line (or navigate to the Custom User Interface using the menus or toolbars) and it will bring up the dialog box shown in figure 1. Click on Double Click Actions and click the little arrow next to it to expand the sub-menu (figure 2.)

figure 2.
Locate the double click action for dimensions and expand that menu as well. Once you do that, you will see a little star with some words next to it - those words are the description for the action that happens when you double click a dimension. To change the default action - look to the right hand side of the dialog box under Properties. There you will see two sub-menus: Command and Advanced. (see figure 3.)

figure 3.

Under Command Name - type in a label for the command (in this case I chose Text, Edit...)
You can enter a description if you like.
Under "Macro" enter the following ^C^C_ddedit - this tells Autocad to initiate the DDEDIT command when you double click any dimension.
That's it - you're done. Close out of the CUI and make sure to SAVE YOUR CHANGES. To return the double click to the default action later on, you can always copy from the backup copy you made of the default CUI file.



No comments:

Post a Comment