Whenver I try to drag any command onto a toolbar or the ribbon, I receive an error that says "Unhandled exception has occured... Unable to cast COM object..." (see screenshot). This happens with every command: Acad and custom.
Any help is appreciated.
-Acad Electrical 2010, updates installed
Good catch and thanks for report ! Have logged to our development side for handling.
We don't support Drag & Drop for this, you can switch to Transfer tab in CUI dialog box, and create your new cuix file in "Customizations in New File" panel, then drag & drop from main cuix file (left panel) to right panel.
SQA Engineer, Autodesk, Inc.
Thanks for the response. I appreciate it. I actually have Acad Mechancial 2010 on my computer and am trying to get these to work on Acad Electrical 2010 on a colleague's so I am using both in conjunction to figure this out.
I don't see how the transfer tab is going to help me. My custom command is in the "Command List" on the "Customize" tab. How do I get it into the customization file if I cannot drag and drop? In Mechanical, this method works great to get a command form the "Command List" onto the ribbon or toolbar (see "CUI dragdrop" attachement)I . Yet in Electrical, I get the "COM Object" error.
The other method I tried was a right click near the toolbars and then clicking "Customize." It brought up a different "Customize User Interface" window in which it tells me to drag the commands(see "CUI dragout" attachment). I get the same error when I try to do this.
Hmmm. Transfer tab can only drag and drop for the existed commands, and for the new customized created command, drag it from Command List pane to toolbar or Ribbon should work. Hope it can be fixed soon.
After you create your command, click Apply and OK in Customize User Interface dialog box, then the new cuix file will be loaded. Can you call your command in the command line directly ?
The button I'm trying to add is for a VBA macro and the command the button runs is "^C^C-vbarun EMTDescrip". I can get this to work from the command line if they type "-vbarun" <enter> "EMTDescrip" but I would prefer they don't need to worry about remembering the names of the macros.
Hello, I have this same error when I try to drag a command into the Keyboard shortcuts toolbar. Any help would be appreciated! I have AutoCAD 2008 64 bit.
Thanks for your report !
We had logged this issue in our issue tracking system and hopeful it will be resolved as soon as possible. Sorry for the inconveniency.
I suppose you want to drag a command into Keyboard Shortcuts toolbar and then directly invoke this command from the toolbar for further operation. If this is case, I think it is blocked now by this problem and I suggest to call it via command line to use it.
For those of you having this issue can you provide more details? What version of AutoCAD Electrical? Can you provide the exact steps or a video showing what you are doing?
Hello, I have AutoCAD 2008. Here are the exact steps I followed:
1) Type in CUI
2) Drag any command (e.g. Copy) from the Command List
3) As soon you start dragging (i.e. you cannot move it anywhere), I get this error (picture and error message attached).
Thanks for looking into this. I found a current workaround, which is to right-click the command, click copy, then go into the appropraite panel (keyboard shortcuts in my case) and click paste.
This is AutoCAD or AutoCAD Electrical? I don't have 2008 available and so far haven't run into this issue in the versions I do have. What version of Windows are you on?
For anyone with a newer version of AutoCAD Electrical can you supply steps, screen captures, or video? Can you also use the right-click method mentioned?
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.
The AutoCAD Electrical forum has moved into it's very own category page, and can no longer be found within the Additional Product Forums.
Upgrading to a 2015 product? Make sure to check these out 1st!