Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.92 KB

README.md

File metadata and controls

29 lines (18 loc) · 1.92 KB

Revit WPF Template

WPF Template for Revit Add-Ins including wrapped external methods for execution in a "Valid Revit API Context"

Window A Window B Window C Revit Ribbon

Usage

Build

Clone/download this repository and open the .sln at the root of the repository with Microsoft Visual Studio. Building the solution will automatically create and copy the add-in files to the folder for Revit 2019. Upon opening Revit 2019, there should be a tab called "Template" in Revit, with a button to launch the WPF add-in.

Customize

In order to use this as a starter for your application, make sure you first refactor the content in the application files (namespace, assembly name, classes, GUID, etc.)

Documentation

Documentation is created using Sandcastle Help File Builder by compiling the docstrings from the compiled .dll and .xml files generated by Visual Studio upon build. The Sandcastle project can be launched through the RevitTemplate.shfbproj file in the docs folder.

The documentation can be found in the docs folder in the root of this repository. The following documentation sources are created by Sandcastle Help File Builder:

  1. .chm - This is an interactive help file which can be launched by double-clicking on any Windows machine.
  2. index.html - This is the documentation compiled for web deployment. Please note that many of the supporting files needed to deploy the documentation to the web have been git-ignored due to their size and count. Make sure to compile documentation yourself using Sandcastle Help File Builder prior to trying to use/deploy the web version of the documentation.