Urlbutton wrong url

I created a url button to open a link to an app in Microsoft teams. It worked great, but I decided to use a different app for what I was trying to do, so I changed the url in the bundle.yaml file. For some reason, when I click on the button, it still tries to load the old link, as if it’s stuck in memory somewhere. I’ve reloaded pyrevit, restarted Revit, and even restarted my computer, but it is still stuck. Last option will be to just create a new button, but this seems like a bug so I wanted to post here to see if anyone has any insight.

Thanks!

1 Like

Seems odd, have you checked if the __ helpurl __ variable is set in de script file?
Perhaps it’s overriding your yaml entry.

also try to alt+click on the button see if it is pointing to the wrong folder/yaml… who knows :slight_smile:

Update: It’s working now. must have sorted itself out somehow. I’m guessing there was a temp file or cache somewhere that got cleaned up.

1 Like

Hi Archibum, would you be willing to share how you do this? We’ve been looking for a solution as well.