CUI changes not taking effect

CUI changes not taking effect

Anonymous
Not applicable
959 Views
3 Replies
Message 1 of 4

CUI changes not taking effect

Anonymous
Not applicable
I used the CUI editor to make a change to the mouse button section of the ADT.CUI file, but the changes aren't taking effect. I shifted everything from buttons 5-10 into buttons 6-11 and put a new command into button 5. Afterwards though, buttons 5-10 still do the same commands as the original configuration. How do I get the revisions to become active? I notice I have two copies of ADT.CUI in different folders with different dates (...\enu\Support\ and ...\userdatacache\Support\). One is an old date, and the other is the day I made the revision. Do I need to erase the old one?

Would a better solution be to make these button changes in a partial CUI rather than modifying ADT.CUI? What would happen if a partial CUI has a different mouse button arrangement than the main cui?
0 Likes
960 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable
How many ADT.CUI files do you have in CUI?

--


_________________________

Bill DeShawn
bdeshawn@nospamsterling.net
http://my.sterling.net/~bdeshawn
Notice: New LISP tool for Landscape
Design and for ATTEXT users.
Measure and Divide with attributes!!


wrote in message news:5901493@discussion.autodesk.com...
I used the CUI editor to make a change to the mouse button section of the
ADT.CUI file, but the changes aren't taking effect. I shifted everything
from buttons 5-10 into buttons 6-11 and put a new command into button 5.
Afterwards though, buttons 5-10 still do the same commands as the original
configuration. How do I get the revisions to become active? I notice I
have two copies of ADT.CUI in different folders with different dates
(...\enu\Support\ and ...\userdatacache\Support\). One is an old date, and
the other is the day I made the revision. Do I need to erase the old one?

Would a better solution be to make these button changes in a partial CUI
rather than modifying ADT.CUI? What would happen if a partial CUI has a
different mouse button arrangement than the main cui?
0 Likes
Message 3 of 4

Anonymous
Not applicable
I get the following Microsoft.NET Framework error message when I try to customize my CUI:
Unhandled exception has occured in a component in your appliucation. If you click Continue, the application will ignore this error and attempt to continue.
Invalid URI: The format of the URI could not be determined.

Details:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.UriFormatException: Invalid URI: The format of the URI could not be determined.
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at Autodesk.AutoCAD.Windows.RibbonData.LoadImageW(CStringT > >* sImage, HINSTANCE__* hResInst, Boolean bSmall)
at Autodesk.AutoCAD.Windows.RibbonData.Load(String sImage, String sModule, String sGroupName, Boolean bSmall)
at Autodesk.AutoCAD.Ribbon.RibbonContent.ApplyMenuMacro(RibbonItem item, MenuMacro menuMacro, String sMenuGroup)
at Autodesk.AutoCAD.Ribbon.RibbonContent.ResolveReferencesInObject(Object obj, Object parameter)
at Autodesk.AutoCAD.Ribbon.RibbonContent.ResolveReferences(RibbonItem item, ReferenceResolver resolver, Object parameter)
at Autodesk.AutoCAD.Ribbon.RibbonContent.ResolveReferences(RibbonPanelSource panelSource, ReferenceResolver resolver, Object parameter)
at Autodesk.AutoCAD.Ribbon.RibbonContent.ResolveReferences(ReferenceResolver resolver, Object parameter)
at Autodesk.AutoCAD.Ribbon.RibbonContent.ResolveReferences(List`1 menuGroups, RibbonContentCollection partialRibbonContents)
at Autodesk.AutoCAD.Ribbon.RibbonPaletteSet.LoadRibbon(String sWorkspaceId)
at Autodesk.AutoCAD.Ribbon.RibbonPaletteSet.CuiEventManager_LoadRibbon(Object sender, CuiLoadEventArgs e)
at Autodesk.AutoCAD.Internal.Reactors.CuiEventManager.FireLoadRibbon(String sName, String sID)
at acmgdFireLoadRibbonEvent(Char* pszName, Char* pszID)
at acedReloadMenus()
at Autodesk.AutoCAD.Internal.Utils.ReloadMenus(String wsCurrentStr, Boolean bResetWorkspace)
at Autodesk.AutoCAD.Customization.MainForm.okButton_Click(Object sender, EventArgs e)
at Autodesk.AutoCAD.Customization.MainForm.applyButton_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
acdbmgd
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AcdbMgd.DLL
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PresentationFramework
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.0 (vista_rtm_wcp.061020-1904)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
PresentationCore
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.0 (vista_rtm_wcp.061020-1904)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
WindowsBase
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.0 (vista_rtm_wcp.061020-1904)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.762
Win32 Version: 8.00.50727.762
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700/msvcm80.dll
----------------------------------------
acmgd
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/acmgd.DLL
----------------------------------------
AecSpaceOffsetRulesManager
Assembly Version: 5.7.68.0
Win32 Version: 5, 7, 68, 0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AecSpaceOffsetRulesManager.DLL
----------------------------------------
AdWindows
Assembly Version: 1.0.0.0
Win32 Version: 1.0.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AdWindows.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
AecSpaceOffsetStandardBasic
Assembly Version: 5.7.68.0
Win32 Version: 5.7.68.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AecSpaceOffsetStandardBasic.DLL
----------------------------------------
AecBaseMgd
Assembly Version: 5.7.68.0
Win32 Version: 5, 7, 68, 0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AecBaseMgd.DLL
----------------------------------------
AecSpaceOffsetStandardBasic.resources
Assembly Version: 5.7.68.0
Win32 Version: 5.7.68.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/en-US/AecSpaceOffsetStandardBasic.resources.DLL
----------------------------------------
AecArchMgd
Assembly Version: 5.7.68.0
Win32 Version: 5, 7, 68, 0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AecArchMgd.DLL
----------------------------------------
AecSpaceOffsetStandardBOMA
Assembly Version: 5.7.68.0
Win32 Version: 5.7.68.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/Space%20Calculation%20Standards/AecSpaceOffsetStandardBOMA.dll
----------------------------------------
AecSpaceOffsetStandardBOMA.resources
Assembly Version: 5.7.68.0
Win32 Version: 5.7.68.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/en-US/AecSpaceOffsetStandardBOMA.resources.DLL
----------------------------------------
AecSpaceOffsetStandardDIN
Assembly Version: 5.7.68.0
Win32 Version: 5.7.68.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/Space%20Calculation%20Standards/AecSpaceOffsetStandardDIN.dll
----------------------------------------
AecSpaceOffsetStandardDIN.resources
Assembly Version: 5.7.68.0
Win32 Version: 5.7.68.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/en-US/AecSpaceOffsetStandardDIN.resources.DLL
----------------------------------------
AecSpaceOffsetStandardSIS
Assembly Version: 5.7.68.0
Win32 Version: 5.7.68.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/Space%20Calculation%20Standards/AecSpaceOffsetStandardSIS.dll
----------------------------------------
AecSpaceOffsetStandardSIS.resources
Assembly Version: 5.7.68.0
Win32 Version: 5.7.68.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/en-US/AecSpaceOffsetStandardSIS.resources.DLL
----------------------------------------
AecDtlDb
Assembly Version: 5.7.68.0
Win32 Version: 5, 7, 68, 0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AecDtlDb.DLL
----------------------------------------
AecDtlDbUI
Assembly Version: 5.7.68.0
Win32 Version: 5.7.68.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AecDtlDbUI.DLL
----------------------------------------
AecDtlDbLib
Assembly Version: 5.7.68.0
Win32 Version: 5.7.68.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AecDtlDbLib.DLL
----------------------------------------
AdWindowsWrapper
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AdWindowsWrapper.DLL
----------------------------------------
AcMgdReverse
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AcMgdReverse.DLL
----------------------------------------
AcWindows
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AcWindows.DLL
----------------------------------------
AcRibbon
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AcRibbon.DLL
----------------------------------------
AcRibbon.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/en-US/AcRibbon.resources.DLL
----------------------------------------
AdWindows.resources
Assembly Version: 1.0.0.0
Win32 Version: 1.0.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/en-US/AdWindows.resources.DLL
----------------------------------------
acmgdinternal
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/acmgdinternal.DLL
----------------------------------------
AcWindows.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/en-US/AcWindows.resources.DLL
----------------------------------------
AcMrUi
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AcMrUi.DLL
----------------------------------------
AcMrUi.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/en-US/AcMrUi.resources.DLL
----------------------------------------
AcMr
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AcMr.DLL
----------------------------------------
System.Runtime.Serialization
Assembly Version: 3.0.0.0
Win32 Version: 3.0.4506.30 (WAPRTM.004506-0030)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Serialization/3.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
PresentationFramework.Luna
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.0 (vista_rtm_wcp.061020-1904)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework.Luna/3.0.0.0__31bf3856ad364e35/PresentationFramework.Luna.dll
----------------------------------------
AcPrevInput
Assembly Version: 0.0.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AcPrevInput.DLL
----------------------------------------
AcXrefUtil
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AcXrefUtil.DLL
----------------------------------------
AcInfoCenterConn
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AcInfoCenterConn.DLL
----------------------------------------
AdInfoCenter
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AdInfoCenter.DLL
----------------------------------------
AdInfoCenter.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/en-US/AdInfoCenter.resources.DLL
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
1sqhhy9v
Assembly Version: 17.2.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
Autodesk.Interop.WSCommCntr1
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/Autodesk.Interop.WSCommCntr1.DLL
----------------------------------------
AcLayer
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AcLayer.DLL
----------------------------------------
AcLayer.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/en-US/AcLayer.resources.DLL
----------------------------------------
AcCustomize
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AcCustomize.DLL
----------------------------------------
AcCui
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AcCui.DLL
----------------------------------------
AcCustomize.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/en-US/AcCustomize.resources.DLL
----------------------------------------
AecUiToolTipContent
Assembly Version: 5.7.68.0
Win32 Version: 5.7.68.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AecUiToolTipContent.DLL
----------------------------------------
AecUiToolTipContent.resources
Assembly Version: 5.7.68.0
Win32 Version: 5.7.68.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/en-US/AecUiToolTipContent.resources.DLL
----------------------------------------
AcCommandToolTips
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AcCommandToolTips.DLL
----------------------------------------
AcCommandToolTips.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/en-US/AcCommandToolTips.resources.DLL
----------------------------------------
WindowsFormsIntegration
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.0 (vista_rtm_wcp.061020-1904)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsFormsIntegration/3.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Design
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Autodesk.AutoCAD.Interop
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Autodesk.AutoCAD.Interop/17.2.0.0__eed84259d7cbf30b/Autodesk.AutoCAD.Interop.dll
----------------------------------------
AcDialogToolTips
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/AcDialogToolTips.DLL
----------------------------------------
AcDialogToolTips.resources
Assembly Version: 17.2.0.0
Win32 Version: 17.2.56.0
CodeBase: file:///C:/Program%20Files/AutoCAD%20Architecture%202009/en-US/AcDialogToolTips.resources.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:





When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
0 Likes
Message 4 of 4

Anonymous
Not applicable
I have two ADT.CUI files on the single computer in the folders mentioned in the original post. Regardless of which one I edited, it didn't have any affect. But I eventually found the problem. The solution was that I was modifying the mouse button area, but I wasn't technically using a mouse. I was using a tablet and hadn't noticed there was a similar "tablet buttons" area in Legacy devices. When I moved my modifications from "mouse buttons" to "tablet buttons" they all worked.
0 Likes