Chromium Browser in Dockable panel

Do you know if it is possible to have a dockable panel registered with pyrevit with a ChromiumBrowser or a WebView2 instance? Also any other browser would work.

Hi @andreitam11, welcome to the community!!!

Revit comes with CefSharp, so you should be able to add a reference to the library via clr and have it available in pyrevit

Not sure if they fixed the dll hell issues mentioned here yet…

1 Like

I believe this isn’t a problem for pyRevit, since we don’t ship our own version of that library, and IronPython would reference the version loaded by Revit, no version conflict should arise.
But I might be wrong, and some of the CefSharp dependencies might clash with pyRevit’s.

1 Like

Thank you so much for the help! I implemented the Chromium Web Browser it and it is working well for now for the use case we have. I will accept it as a solution.

I’m happy you solved it!

Care to share how did you do it, so that others can benefit from this discussion?

1 Like