ricaun.Revit.Templates 0.10.0

Prefix Reserved
dotnet new install ricaun.Revit.Templates::0.10.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

ricaun.Revit.Templates

RevitAddin and AutoCADAddin Templates and ItemTemplates for C# Applications.

Visual Studio 2022 Nuke License MIT Build nuget

Create a new project

Installation

This package is automatically installed when using the ricaun.AppLoader plugin.

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)
--Revit2026 Configuration Version Revit 2026 false
--Revit2025 Configuration Version Revit 2025 false
--Revit2024 Configuration Version Revit 2024 false
--Revit2023 Configuration Version Revit 2023 false
--Revit2022 Configuration Version Revit 2022 false
--Revit2021 Configuration Version Revit 2021 false
--Revit2020 Configuration Version Revit 2020 false
--Revit2019 Configuration Version Revit 2019 false

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)
--AutoCAD2026 Configuration Version AutoCAD 2026 false
--AutoCAD2025 Configuration Version AutoCAD 2025 false
--AutoCAD2024 Configuration Version AutoCAD 2024 false
--AutoCAD2023 Configuration Version AutoCAD 2023 false
--AutoCAD2022 Configuration Version AutoCAD 2022 false
--AutoCAD2021 Configuration Version AutoCAD 2021 false
--AutoCAD2020 Configuration Version AutoCAD 2020 false
--AutoCAD2019 Configuration Version AutoCAD 2019 false

ProjectTemplates

The ProjectTemplates are installed automatically in Visual Studio 2022 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 2022 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 2022 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.cmd force to install file ricaun.Revit.Templates.{version}.nupkg.
  • The dotnet uninstall.cmd force to uninstall ricaun.Revit.Templates from the dotnet.

Manual Installation Tools

Inside the tools folder are the install.cmd and uninstall.cmd files to install/uninstall the item and snippets Visual Studio 2022 templates.

  • The install.cmd force to install the ItemTemplates and Snippets in the Visual Studio 2022 user folder.
  • The uninstall.cmd force to uninstall the ItemTemplates and Snippets in the Visual Studio 2022 user folder.

Release

License

This project is licensed under the MIT License.


Do you like this project? Please star this project on GitHub!

  • .NETFramework 4.0

    • 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.

Version Downloads Last Updated
0.10.0 10 7/18/2025
0.9.1 312 4/10/2025
0.9.0 207 4/9/2025
0.8.3 191 4/4/2025
0.8.2 234 3/17/2025
0.8.1 274 11/28/2024
0.8.0 198 11/21/2024
0.7.0 272 9/6/2024
0.6.2 380 7/3/2024
0.6.1 370 4/16/2024
0.6.0 255 3/28/2024
0.5.2 2,600 12/22/2023
0.5.1 683 12/5/2023
0.5.0 805 4/5/2023
0.4.4 621 11/25/2022
0.4.3 520 10/12/2022
0.4.2 466 10/10/2022
0.4.1 457 10/5/2022
0.4.0 580 8/23/2022
0.3.0 514 8/1/2022
0.2.0 577 7/18/2022
0.1.0 556 7/9/2022