Setting Revit hotkeys

Is there a way to quickly import and export or perhaps even through a Dynamo or C# scripts to set the hotkeys you want to set?

It’s annoying to have to do this every time for a new version of Revit or when you start working at a new company or have to do a reinstall…

I was wondering if I could just import something really quick or even automate it

Hi @RevitRobot guess these setting is stored in a xml file in C:\Users<USERNAME>\AppData\Roaming\Autodesk\Revit<RevitVersion>\KeyboardShortcuts.xml… maybe it could help

3 Likes

That is the file if memory serves.

I recall modifying a login script to automate deployment of a user’s shortcuts on login so if someone used another system to test graphs or something they got the ‘usual’ settings. Pushing to new builds then happened by changing the version in the directory.

I do recommend archiving the existing one before you do any pushes.

1 Like

me too :wink: :wink:

Well I am not sure what the best route is atm to overwrite the hotkeys I want to set. I just have like 5 specific ones. I thought it would be a good exercise to go out of Dynamo and learn to overwrite an xml (after backing up)

Most people despise my shortcut methodology (a hangover from my maya days in the 00’s) so i’ve just exported and reimported the .xml through the revit interface for years.

Sorry this doesn’t help the conversation, just sayin’ :smiley:

Same, i feel like making a Dynamo script to import your hotkeys is like creating a button that, when you press it, presses a button for you hehe

1 Like

If you do a clean install at a new office or a new version comes out or you get a new PC etc. It might be nifty to just have all versions be done all at once. Username might also differ.

It’s just a small excercise and I want to write it in C# as practise. But I haven’t made time for it just yet

It definitely feels like overkill sometimes. But honestly, when you’re setting up a new workstation or helping a whole team sync their shortcuts, that ‘button for a button’ becomes a total lifesaver.