Adding Basic Troubleshooting Tools to Your Ribbon
Posted on June 21, 2013 by Darin Green, Synergis Lead Helpdesk Technician:
When AutoCAD drawings are corrupt we tend to forget the commands used to troubleshoot common issues. Our first thought is to RECOVER the drawing, which runs a low level Audit and tries to open the drawing. Second thought is AUDIT, which is a high level Audit to evaluate the integrity of the drawing and corrects some errors. Then, if all fail, we try to PURGE the drawing which removes unused items, such as block definitions and layers, from the drawing.
There are other tools that most people aren’t aware of, like the following 2 items:
- PURGE RegApps ‐ Purges background information created by third party applications as well as Autodesk Vertical applications. Those applications basically create milestones by storing information into entities within the drawing file.
- SCALELISTEDIT ‐ This feature will allow users to reset their annotative scales to the defaults scales based on the template used to create the drawing file.
In the following example, we are going to create a new Ribbon Tab and Panel which will nest the basic troubleshooting tools for preventative measures on corrupt drawings.
- While AutoCAD is open, type CUI and hit Enter, to get into the CUI Editor.
- Expand Ribbon, to see the Ribbon tree which contains Tabs and Panels.
Expand Tabs to view all existing tabs.
Expand panels to view existing panels.
Search for and drag the following commands from the Command List to Row 1 under Solutions
12. Notice I added a new command “Purge RegApps”
- Under the Command List, click Create a new Command
- Label it Purge RegApps and adjust the properties to match the following:
Within the Macro field, we a calling the Purge command and setting the options need to purge registered apps. (Generally, you would be asked questions at the command line).
|Space||Equivalent to pressing Enter except when entering text to create a text object that contains spaces (between words). Use between the command and its options.|
|; (semi‐colon)||Equivalent to pressing Enter. The end of a line in a menu macro is also equivalent to pressing Enter. More helpful than using a space when you need to press Enter twice, because it shows the number of Enters more clearly. Also helpful at the end of the macro.|
|\||Pauses for user input, such as picking a point or entering a value.|
|+||At the end of a macro line, continues the macro to the next line.|
|*||At the beginning of a macro, before ^C^C, repeats the macro until you press Esc or choose another menu item.|
|^P||Toggles the display of the menu macro on the command line; makes the macro look neater when you use it.|
14. Select the command within the Panel Preview area to get to those properties.
To make a TAB viewable on the ribbon, we need to turn it on…
I hope that helps you in the future so that you don’t have to go hunting for these important tools.
Check out some of these additional posts by Darin:
Darin Green is one of our Helpdesk Leads and provides tips and information in our monthly Helpdesk Newsletter. Darin has over 10 years of CAD experience and in his time at Synergis he has provided support for over 700 customers to help them stay ahead. He previously worked with Ritter and Plante Associates where he performed various zoning, project duties, and hands-on field work, along with surveying. Darin has a broad range of experience with many CAD applications including AutoCAD, Revit, AutoCAD Civil 3D, Map 3D, among others.