简体   繁体   中英

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 ?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM