From the course: Revit: Creating C# Plugins

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Registering add-ins

Registering add-ins

From the course: Revit: Creating C# Plugins

Start my 1-month free trial

Registering add-ins

- [Instructor] So far in the course, we've successfully coded our first Revit plugin command. What we need to now is load it into Revit. In order to do that, we need to register the command for it to show up in Revit. And we do this by creating what's known as a manifest file. When Revit boots up, it will rate the manifest files located in one of two specific file locations in order to determine what plugins to load and with what options. Let's have a look at adding a manifest file into our project. To add a manifest file, right-click the project name and select add new item. Here we can select new items to add to our project. Let's select application manifest file. And the first thing we'll need to do is rename the file to match the name of our plugin so that Revit knows which manifest file to look inside. So let's rename this to myrevitcommands and the extension we need for this file is .addin, as this is the type of file that Revit will look for. And then go ahead and click add…

Contents