Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 67020

Re: make external API command available in list of commands available to be a keyboard shortcut

$
0
0

@james.levieux wrote:

Thank you for the response Jeremy.  Just to clarify, is this what the developers are doing, editing the contents of the KeyboardShortcuts.txt file so that their shortcut appears on the list within the keyboard shortcut editor?  I thought there was some OnStartup ribbon function that I was missing.


If your addin is registering the RibbonPanel and Buttons in the IExternalApplication.OnStartup, the commands should appear in the keyboard shortcut by default. No extra steps are required.

Just register using Ribbon Panels and Controls should work by default.


Viewing all articles
Browse latest Browse all 67020

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>