PDA

View Full Version : Tools and Styles "Cannot Be Found" on the Ribbon


ryant
2009-05-19, 08:46 PM
I have been getting an error on the Ribbon on the Annotate tab with the Scheduling, Callouts, and Keynoting panels. The error is "The tool cannot be found in the current workspace" on the Scheduling and Keynoting panels and "A style or definition could not be located for this tool" on the Callouts panel. Any ideas? The macro they are trying to run is: ^C^C_AecRibbonTool Reference Keynote (Straight Leader) - ribbon; with the last part changing depending on what the command is.

I'm really stuck here, I don't understand enough of where the macro is trying to pull the symbol from. It seams to me it just isn't finding the .dwg with the symbol in it.

dkoch
2009-05-20, 12:53 AM
Ribbon command buttons running a macro beginning with AecRibbonTool are looking at the tools on the tool palettes you have loaded in your current workspace. The tool does NOT have to be on a tool palette that is part of the current Tool Palette Group that is displayed, but it does have to be on a tool palette that could be accessed in the tool palettes.

If you did not customize the CUIX file to have it point to a different tool name, then I can only assume that you do not have the default out-of-the-box tool palettes currently loaded and also do not have a tool that uses the same name as the referenced tool, since the out-of-the-box ACA.cuix file references those tools. You can either load the out-of-the-box tools, from the Sample Palette Catalog - Imperial or Sample Palette Catalog - Metric catalogs (or a localized content catalog) or you can edit the command macro to reference your Schedule Tag, Schedule Table, Callout or Keynote tools.

ryant
2009-05-20, 04:23 PM
Thanks for your response. It is true that I am not using the out-of-the-box Tool Palette. I copied the tool palette to our server that way everyone on the network shares it, so when things are added to it everyone gets it. I have left the names of the out of the box symbols, callouts etc. the same though. How would I go about re-writing the macros for those. When I go to the CUI editor and click on the properties of the ribbon buttons I get this as the macro: ^C^C_AecRibbonTool Title Mark - ribbon; doesn't look like a whole lot to modify, is there something I'm missing? Thanks again for your help.

zach.russell
2009-05-20, 04:26 PM
I had this same problem when first installed. I found that when IT installed it under the IT manager's username it didn't add the appropriate folders under my profile user name. When I had IT install it under my user name it worked just fine. Don't know why that is but its worth a try. Oh and I also made sure not to Migrate my settings from a previous version. That seem to mess things up as well.

Hope that helps.

dkoch
2009-05-20, 11:05 PM
Well, I have not actually had the need to do this myself yet, and I have a reason for the next couple of months to leave things as out-of-the-box as possible, so I am probably not going to experiment with it. I believe the part you need to edit is the "Title Mark" part. That should be the name of the tool palette Tool that is referenced by that macro.

When you say you have your tool palette(s) on the network for all to share, do you mean you have a network folder with the tool palette(s) you are sharing listed under Tool Palettes File Locations on the Files tab of the Options dialog on everyone's computer? If so, are any of those the out-of-the-box tool palettes with the tools referenced in the Ribbon, or are they all your own custom palettes and tools. It should not matter from where the tool palette is sourced, so long as it is available in the local workspace and as long as the tool itself still works (meaning that the source file for any content is still in the location that the tool references). Check this by brining up the tool palette and trying to execute the tool from the palette. If that does not work, then the ribbon command button will not work, either.

ryant
2009-05-21, 07:57 PM
David,

I copied the Out-of-the-box tool palatte to the server, and yes I then changed the paths on the other computers on the Files Tab of the Options dialog box. It wouldn't be bad if I knew how to add content from the Tool Palettes to the Ribbon, I could quickly just fix the links, but I'm not sure how thats done.

ryant
2009-05-26, 01:51 PM
Does anyone know how to add content from the Tool Palettes to the Ribbon?