Message 1 of 17
Context Menu - Experiments and first Observations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I've been recently playing a lot with context menus and managed to create some interesting problems.
Here they are:
- Command started from context menu doesn’t save itself in the list of recently used commands:
- It won't be shown on the list of recent commands.
- You won’t be able to repeat them with “repeat the last command”. Revit will run the previous command instead.
It is super annoying especially that we want to be able to use these commands often and start them quickly (which is the main reason to use context menu vs normal buttons)
- There is a maximum number of register commands. After hitting some magical number (I didn’t count them, but the number is probably somewhere close to 150), Revit will allow you to create more of them but will block us from using them. They will be greyed out as in the picture below - I learn about it by a fluke after spending an hour trying to find out why commands for one of my tools are grayed out.
One thing to keep in mind is that you share this number between all loaded add-ins.
Developer Advocacy and Support +