Skip to content

chuongmep/RevitAddInManager

Repository files navigation

Revit Add-in Manager

Revit API Platform License: MIT

ReSharper Rider Visual Studio 2022 .NET Framework

Publish Github All Releases HitCount follow on Twitter

📋 Summary

Usually, when developing and debugging an addin with RevitAPI, user has to close & re-open Revit each time he/she modifies the addin code and wants to re-compile. But with Add-In Manager, user can modify and run the addin directly without closing & re-opening Revit again and again. With current technology, you can use Hot Reload to speed it up.But try this project it will be faster with any Addin.

The product will be expanded in the future in process to support mutiple platform :

📦 Some feature include:

  • Add-in tester(use Debug and Trace to test your add-in)
  • Add-in manager
    • AddInManagerFaceless
    • AddInManagerManual
    • AddInManagerReadOnly
    • Application
  • Startup manager
  • Bip Checker - Check Built-in Parameter of the Element
  • Bip Compare - Compare Built-in Parameter of two Element
  • Debug / Trace : Support Show result use Debug or Trace to show result in Revit
  • Quick create .addin and load to Revit
  • Clear Cache saved in temp folder
  • Quick remove an Add-in not used in working process
  • No depend on any library from outside RevitAPI.
  • A newbie can create new Add-in in a few minutes and easily explore Revit API.

  • F5 - Load fresh plugin don't need load again.
  • F1 - Go link open source report some error,bug or feature request.
  • Delete - Quick remove by use right click or use from keyboard.
  • Crt + MouseWheel - Zoom in/out by use mouse wheel in command plugin.
  • Arrow Up - Move from TreeView to search.
  • Arrow Down - Move from search to TreeView.
  • Esc - Quick Close Add-in Manager.
  • Enter - Quick Run Execute a command selected in Add-in Manager.
  • Alt + T - Change theme Default, Dark, Light.

📭 Add-In Manager

Command

  • AddInManagerManual
  • AddInManagerFaceless
  • AddInManagerReadOnly
  • Bip Checker
  • Bip Compare

Application

  • Preview
  • Save And Load Application .Addin

Startup

  • Show info all add-in installed in computer include all Add-in from Autodesk.
  • Enable or Disable Add-in.

Trace/Debug

  • Show/Hide result inside Dockpanel Revit.
  • Show Result history inside Revit Addin Manager.
  • Clear Result.
  • Show Result by color.


⚙️ Installation

Please follow last release at section Release

Version support : From Revit 2019 to Revit 2025.


⌨️Guideline

  • Quick Example to Execute a Command :
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using Autodesk.Revit.UI.Selection;
[Transaction(TransactionMode.Manual)]
public class TestCommand : IExternalCommand
{
    public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
    {
        //Code Something 
        return Result.Succeeded;
    }
}
  • Quick Example to Debug or Trace result output :
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using Autodesk.Revit.UI.Selection;
[Transaction(TransactionMode.Manual)]
public class TraceWriteLine : IExternalCommand
{
    public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
    {
        //Trace or Debug Something
        Debug.Write($"Message output");
        Debug.WriteLine($"Message output");
        Trace.Write($"Message output");
        Trace.WriteLine($"Message output");
        return Result.Succeeded;
    }
}

You can visit to wiki and read document or access by this link.

Some topic common:


✒️ Author

Originally implemented by Autodesk with platform Windows Forms and now it maintain by ChuongHo with platform WPF and add more feature to fit with the progressive development of modern technology. His focus is to work smarter and achieve the most effective practices to enhance data utilization and digital collaboration among AEC parties.


📄 License

This sample is licensed under the terms of the MIT License. Please see the License file for full details.

Credit to icons8.com for the Revit Add-in Manager icons.

© 2010 Autodesk, Inc. All rights reserved. All use of this Software is subject to the terms and conditions of the Autodesk End User License Agreement accepted upon installation of this Software and/or packaged with the Software.


🍚 Contribute

Add-In Manager is an open-source project and would be nothing without its community. You can make suggestions or track and submit bugs via Github issues. You can submit your own code to the Add-In Manager project via a Github pull request.

Many Thanks all contributors for this repository. Feel free to contribute! Please refer to the CONTRIBUTING for details.


🎁 Sponsors

Thanks for providing a free All product IDE for this project.


🖇️ Learning Resources

📌 Open Resource Recommend

I suggest you some of these projects, hope you will like it.

Star History Chart