A simple AutoCAD 2026 add‑in that embeds a WebView2 browser window directly within AutoCAD—no more switching between tabs!
- Adds a new
hehepanel under the Add‑ins ribbon tab in AutoCAD 2026. - Click Open WebView to launch a modeless browser window docked on top.
- Keeps the window always in front (
TopMost) so you can browse without losing focus in AutoCAD.
-
AutoCAD 2026
-
.NET 8.0 SDK installed
-
Microsoft Edge WebView2 Runtime (Evergreen) installed
-
Microsoft.Web.WebView2 NuGet package referenced in your project
-
Launch AutoCAD 2026 and run the NETLOAD command:
NETLOAD "C:\path\to\<project>\hehe_autocad_addin\bin\Debug\net8.0-windows\hehe_autocad_addin.dll" -
You should see a new Add‑ins tab. Under Add‑ins ▶ hehe, click Open WebView to launch the browser window.
- With AutoCAD open, switch to the Add‑ins ribbon tab.
- Click Open WebView to open the embedded browser.
- The WebView window will remain on top—navigate freely without losing focus in AutoCAD.
-
If you see
unable to load WebView2Loader.dll, ensure:- The Edge WebView2 runtime is installed.
WebView2Loader.dllis copied to your output folder (set Copy to Output Directory = Always).
-
If the Add‑ins tab is missing, run:
NETLOAD "...\hehe_autocad_addin.dll" RESTART -
Make sure you target x64 in your project settings to match AutoCAD’s process.
No License