ricaun.Revit.Templates
1.0.0
Prefix Reserved
dotnet new install ricaun.Revit.Templates@1.0.0
ricaun.Revit.Templates
RevitAddin and AutoCADAddin Templates and ItemTemplates for C# Applications.
Installation
This package is automatically installed when using the ricaun.AppLoader plugin.
- Install .Net SDK or Visual Studio 2026
- Run
dotnet new install ricaun.Revit.Templates
SolutionTemplates
| Solution Name | Short Name | Description |
|---|---|---|
| Solution Autodesk Revit Addin Template | ricaun-revit-addin-sln | Solution for Revit C# .NET add-in project with Build |
| Solution Autodesk AutoCAD Addin Template | ricaun-autocad-addin-sln | Solution for AutoCAD C# .NET add-in project with Build |
Solution Autodesk Revit Addin Template
- Run
dotnet new ricaun-revit-addin-sln -n ProjectName
Options
- Run
dotnet new ricaun-revit-addin-sln --help
| Options | Description | Default |
|---|---|---|
| --Authors | Set Project Authors PropertyGroup | Authors |
| --Company | Set Project Company PropertyGroup | Company |
| --License | Set Project License MIT | true |
| --Description | Set Project Description PropertyGroup | Revit Plugin $(PackageId) |
| --TargetFrameworks | Target Frameworks for Revit versions | 2027,2026,2025,2024,2023,2022,2021 |
Solution Autodesk AutoCAD Addin Template
- Run
dotnet new ricaun-autocad-addin-sln -n ProjectName
Options
- Run
dotnet new ricaun-autocad-addin-sln --help
| Options | Description | Default |
|---|---|---|
| --Authors | Set Project Authors PropertyGroup | Authors |
| --Company | Set Project Company PropertyGroup | Company |
| --License | Set Project License MIT | true |
| --Description | Set Project Description PropertyGroup | AutoCAD Plugin $(PackageId) |
| --TargetFrameworks | Target Frameworks for AutoCAD versions | 2027,2026,2025,2024,2023,2022,2021 |
ProjectTemplates
The ProjectTemplates are installed automatically in Visual Studio 2026 when ricaun.AppLoader plugin installs the package.
| Project Name | Short Name | Description |
|---|---|---|
| Project Autodesk Revit Addin Template | ricaun-revit-addin-project | Template for Revit C# .NET add-in project |
| Project Autodesk RevitTest Template | ricaun-revittest-project | Template for Revit C# .NET test project |
| Project Autodesk AutoCAD Addin Template | ricaun-autocad-addin-project | Template for AutoCAD C# .NET add-in project |
| Project Nuke Automation Template | ricaun-nuke-project | Build Nuke Automation Template |
ItemTemplates
The ItemTemplates are installed automatically in Visual Studio 2026 when ricaun.AppLoader plugin installs the package.
Github
| Item | Description |
|---|---|
| CHANGELOG | Create CHANGELOG.md template file |
| LICENCE | Create LICENSE.md template file with MIT License |
| README | Create README.md template file |
Revit
| Item | Description |
|---|---|
| App | Basic Revit Application with IExternalApplication |
| Command | Basic Revit Command with IExternalCommand |
| todo | ... |
Snippets
The Snippets are installed automatically in Visual Studio 2026 when ricaun.AppLoader plugin installs the package.
| Snippet | Description |
|---|---|
| rdoc | Creates new Document statement |
| rdocfull | Creates new Document statement with View and Selection |
| relement | Creates GetElement in Document GetElement statement |
| rfec | Creates new FilteredElementCollector() statement |
| rmpickelement | Creates new PickElement Method |
| rmselect | Creates new Select Method by Category |
| rmselectelement | Creates new Select Method by Element |
| rmselectelementtype | Creates new Select Method by ElementType |
| rparameter | Creates Get Parameter statement |
| rparameterif | Creates Get Parameter statement with if |
| rsids | Selection ElementId to Element statement |
| rt | Creates new Transaction() statement |
| rtg | Creates new TransactionGroup() statement |
| rapp | Creates new class App with IExternalApplication |
| rappdb | Creates new class AppDB with IExternalDBApplication |
| rcommand | Creates new class Command with IExternalCommand |
Manual Installation
Download the latest ricaun.Revit.Templates.Install.zip and extract the files.
- The
dotnet install.cmdforce to install filericaun.Revit.Templates.{version}.nupkg. - The
dotnet uninstall.cmdforce to uninstallricaun.Revit.Templatesfrom thedotnet.
Manual Installation Tools
Inside the tools folder are the install.cmd and uninstall.cmd files to install/uninstall the item and snippets Visual Studio 2026 templates.
- The
install.cmdforce to install theItemTemplatesandSnippetsin theVisual Studio 2026user folder. - The
uninstall.cmdforce to uninstall theItemTemplatesandSnippetsin theVisual Studio 2026user folder.
Release
License
This project is licensed under the MIT License.
Do you like this project? Please star this project on GitHub!
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
