Search code examples
c#revit-apirevit

Change Ribbon button without restarting Revit


I am making a plugin who changes depending on a text file. Is it possible to change a Ribbon button name without restarting the software Revit ?


Solution

  • Yes, it is possible. You typically construct your panels and buttons during ExternalApplication Startup. If you store as properties/fields the buttons or other UI elements you need to change, it is possible to change those objects at runtime from your commands or other events.