WebView2Example
This repository contains two projects. The first project is the backend part, which is written in the c# programming language. The backend part consists of a plugin for Revit with a wpf window, to which webview2 connects. The frontend part is a project on the angular framework.
Install / Use
/learn @laksan1/WebView2ExampleREADME
WebView2Example
This repository contains two projects. The first project is the backend part, which is written in the c# programming language. The backend part consists of a plugin for Revit with a wpf window, to which webview2 connects. The frontend part is a project on the angular framework.
Preview:

Installation.
- Clone
- Open the "WebView2Example-Front" project
- In the terminal set the dependencies with the command "npm install"
- Run the command "start" in package.json
- Check http://localhost:1234
- Open an empty project in Revit.
- Open the "WebView2Example-Backend" project
- Change the paths in the "build events" (project properties).
- Check WebView2Loader from packages\Microsoft.Web.WebView2.1.0.1185.39\runtimes\win-x64\native.This depends on the version of your operating system. It needs for button on RevitRibbon. If you use Add Inn Manager go to the next step.
- Build the project (addin and dll file are copied to the addins folder).
- Click the button on the Revit panel "WebView2Example" (or TO USE ADD IN MANAGER ) .
- Drag and drop rectangles in the window of the revit plugin
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
