VisualStudioRevitAddinWizard
Visual Studio templates to generate C# and VB .NET Revit add-ins
Install / Use
/learn @jeremytammik/VisualStudioRevitAddinWizardREADME
Visual Studio Revit Add-in Templates
The Visual Studio Revit add-in wizard provides a Visual Studio template for generating C# .NET Revit add-ins.
It enables the instantaneous and automatic generation, installation and debugging of a new C# Revit add-in skeleton with one single click.
Obsolete VB.NET templates are still included, but no longer updated or maintained.
Ample documentation is provided in The Building Coder topic group on Visual Studio Revit add-in templates.
Installation
Installation can be accomplished by cloning this repository and running the installer batch file install.bat as described in The Building Coder discussion of the Revit Add-In Wizards on GitHub and Installer.
install.bat [Visual Studio Year - 2022, 2019, 2017, 2015]
User Project Template Location
Ensure that the destination path specified in install.bat matches your user project template location.
You can change the known location for user templates in Tools > Options > Projects and Solutions > Locations, cf.,
how to locate and organize project and item templates:
<img src="img/vs_2022_project_template_location.png" alt="User project template location" title="User project template location" width="638"/> <!-- 1276 -->
Alternatives
Several alternative Revit add-in templates have been published.
They are all more complex and full-fledged than this minimalistic one, taking advantage of .NET configuration functionality, providing support for multiple Revit releases, WPF, languages, build systems, installers, Autodesk AppStore support, etc.
Here are some of them:
- Revit2017AddInTemplateSet by Andrey Bushman; for a full discussion of that and comparison of the two, please refer to the article on new Visual Studio templates for Revit add-ins
- Revit2018AddInTemplateSet
- Multi-Version Revit Add-In Template by Yaroslav Zhmayev
- Revit WPF Template by Petr Mitev
- Hellpie dotnet Revit add-in template by Diego Rossi
- Multiversion Revit plugins explained by Alvaro Ortega @alvpickmans Pickmans of matterlab including a comprehensive multiversion-revit-plugin-sample
- Manual approach
to maintain a multi-version add-in in multiple projects in single
SLNby Pablo Derendinger
Author
Jeremy Tammik, The 3D Web Coder and The Building Coder, ADN Open, Autodesk Inc.
License
This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.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
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
