Please can you help or suggest what might be going wrong with the following problem -
My company has a VBA application with a custom CUI file comprising a simple menu and toolbar.
We are using AutoCAD Architectural Desktop 2007 for the first time (I normally use vanilla AutoCAD 2007 but one of our customers uses AutoCAD Architectural Desktop 2007) and we are having some strange problems getting ADT 2007 to display my customized menu form my custom cui file.
When I launch AutoCAD Architectural Desktop 2007 there are four workspaces listed in the "Workspaces" toolbar named as follows -
Design
Document
Detailing and
Visualization
When I open the "Customize User Interface" dialog, these four workspaces are listed in the ADT/Workspaces tree view in "Customizations in All CUI Files".
In my case, the "Design" workspace is currently configured to be both Default and Current.
I have created my own custom cui file which is loaded at run time comprising my set of custom menu, toolbar and commands etc
My menu and toolbar are correctly listed in all four "Workspaces Contents" tree views in the Customize User Interface dialog. With the "Document", "Detailing" or "Visualization" workspaces, both the menu and toolbar display correctly when any of these workspaces are set to current. However my problem is that in the "Design" Workspace Contents , my menu appears in the Menus list under the Menus node but is not displayed in the ADT2007 menu panel on the worktop even though my toolbar is correctly listed in the Workspace Contents tree view under the "Toolbars" node and IS displayed OK. (see attached image Workspace Contents Design Default.JPG).
In other words, my menu is missing from the worktop when I select the "Design" workspace but appears when I select any of the other three workspaces. The toolbar is displayed correctly whichever workspace is selected.
Furthermore, if I manually move my menu in the list order in the "Default" workspace in the CUI dialog then click the Apply button, this seems to refresh the menu panel and my menu suddenly appears, but when I exit the drawing and go back in later, its gone again.
Even more oddly, sometimes when I launch ADT 2007, sometimes my menu IS NOT listed in the "Design" Workspace Contents and does not appear in the worktop
I have to add it from my custom cui using the Customize Workspace button in Workspace contents tree view. Regrettably again when I exit the drawing and go back in later, its gone again and I have to configure all over again.
The user I am logged in as has full admin rights, my cui file has a fairly simple menu and toolbar.
(My custom menu works fine in plain AutoCAD 2007)
Thanks