Posts tagged ‘SuperPurge’

Missing Menu Madness

One of my many complaints about about the CUI system introduced in AutoCAD 2006 is that it’s not very friendly to third party developers. In my opinion, it’s not very friendly to end users either, but I digress…

One example of the unfriendly CUI is the case where a third party application installs a partial menu. In the pre-CUI days, adding a partial menu was an easy way to add an application specific menu to AutoCAD without making any changes to the end user’s existing menu files. If the application was later uninstalled, the uninstall script could remove its menu and clean up the registry, leaving no trace behind. CUI breaks that scenario.

When a partial menu is loaded into AutoCAD 2006 and later, the CUI system actually writes a reference to the new partial menu into the main .cui file. To make matters worse, there is no clean way to programmatically remove those references because there is no deterministic way to locate all the .cui files used by a specific instance of AutoCAD from an uninstall script running outside of AutoCAD.

This would not be the end of the world if AutoCAD simply ignored references to missing files, but it doesn’t. When the CUI command starts, it detects the missing files and displays an obnoxious message box that must be dismissed before the command will continue.
Unable to open file 'c:\program files\manusoft\superpurge\spurge2004.cui'

Then to top it off, AutoCAD displays a second message box that also must be dismissed.
Unable to locate 'spurge2004.cui'. This file is defined in the main CUI file, but has been moved, renamed, or deleted from the following location: c:\program files\manusoft\superpurge\spurge2004.cui To reload this file, type cuiload on the command line.

I think it should be obvious even to an untrained UI designer how ridiculous this is.

In AutoCAD 2006 and 2007, the solution is to dutifully dismiss both dialogs, then when the CUI dialog finally appears, click [Apply] to rewrite the .cui file without the missing partial menu references. In AutoCAD 2008 and 2009, you have to first expand the ‘Partial CUI Files’ node in the Customization tab, then right-click on the unresolved partial menu file and select ‘Unload CUI File’, then click [Apply].

ManuSoft Software Updated for AutoCAD 2009

QuikPik and Periscope are now available for AutoCAD 2009, and SuperPurge will be available later this week. QuikPik users, note that the quick buttons feature does not work with buttons on the new ribbon UI.

QuikPik, Periscope, SuperPurge Updated for AutoCAD 2008

If you use of any of these ManuSoft products, preliminary AutoCAD 2008 support has been available for several weeks at the Download Center for registered users. The QuikPik and Periscope updates are now officially released, and the shareware versions of QuikPik and Periscope are now available as well. SuperPurge will be officially released in the next week or so.

My free AcadStatusBarButton library has also been updated for AutoCAD 2008, and is now available for download on the Freebies page. The only change is the addition of a blank status bar pane beneath your floating buttons so that the new annotation scale buttons in AutoCAD 2008 don’t get covered up (the blank panes force the annotation scale buttons to the left of your custom buttons). If your button position is fixed (i.e. not floating), the blank pane will not be used.

As always, if you encounter any problems, please let me know!