
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey, I'm slowly getting up to speed with using the API and writing add-ins for Revit. I'd like to be able to add contextual buttons to the ribbon - is this possible? (I already know how to add tabs, panels and buttons at startup)
For example, when you are working with the standard Revit user interface and you select an element, the Modify ribbon tab turns green, and some additional buttons appear (depending on the type of element you selected). For some elements, a whole new tab can also appear.
I'd like to offer different sets of controls at different stages during the execution of my ExternalCommand. These will offer the user some settings which control the behaviour of certain operations. I can achieve a similar effect currently, by using different Windows Forms that Show() at the appropriate moments, and Close() or Hide() when not needed, but it doesn't feel like an ideal solution.
Thanks in advance.
Solved! Go to Solution.