Can I programmatically create a keyboard Shortcut to my add-in’s in Revit?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Manualy, you can by adding a line to KeyboardShortcuts.txt located in the Revit Program folder. Look at these posts for more explanations: http://thebuildingcoder.typepad.com/blog/2009/04/addin-keyboard-shortcut.html and http://blog.rodhowarth.com/2009/04/how-to-create-keyboard-shortcuts-to.html
But as this file is stored in Program Files, you will not be able to write to it without being logged as administrator (Windows Vista, Windows 7). And Revit can lock it also.