PDA

View Full Version : keyboard shortcuts for add-ins tab



jofford
2010-02-16, 02:01 PM
I'm trying to create custom keyboard shortcuts for a ribbon I created using the Revit API. So far I've only been able to create shortcuts for items that are listed under Add-Ins --> External Tools. When I try and use the same logic for other buttons in the add-ins tab Revit will not recognize it. I'm using the following syntax for stacked buttons and push buttons (taken from my KeyboardShortcuts.txt file):

For push buttons and stacked buttons:
"XYZ" ribbon:"Add_Ins-Ribbon Name-Button Name" (doesn't work)

For Externals Tools it looks like this:
"XYZ" ribbon:"Add_Ins-External-External Tools-Hello World" (works)

The Building Coder provided some support (http://thebuildingcoder.typepad.com/blog/about-the-author.html) but did not describe anything other than External Tools.

It seems like a simple coding thing. Any suggestions?