Months ago I made a custom extension, appearing as its own panel in Revit, with two scripts (each with an icon). After upgrading pyRevit a couple of times, one of those icons/buttons is now greyed out and unclickable. I don’t know exactly when it happened, i.e. what was the trigger that broke things, because I don’t use it as often as the other script, and I always activate the other script with a keyboard shortcut, therefore my extension’s panel is hardly ever open (so I never noticed the greyed-out icon).
I’m not sure how to debug this, since there’s no errors being output. Instead, it’s as if it’s just an icon without a script. Happy for any suggestions on where to start
I have run into similar issues before. give this a shot, may or may not work.
Duplicate the extension so you have a new copy, delete the old one and rename the newly copied one again, and reload (better if you close and restart Revit). This has worked for me in the past. I notice it will grey out on me if i rename the extension, the tab, or the panel every once in a while. IDK why, maybe some cached data lingering around.