Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I'm trying to load a local webpage in a Revit command using CefSharp. The problem is that to load a complete directory with HTML, CSS, and JavaScript files, it seems that I need to change the CefSharp settings using the Cef.Initialize(settings) method, which Revit already automatically performs during its initialization. As a result, I'm unable to load my web content in a window within my command.
I've also tried using the LoadHtml function, but it doesn't load the styles and scripts of my webpage. Is there any way to load a local webpage using CefSharp in Revit 2023 within a form?
Attached are images of the code:
Solved! Go to Solution.