Now that we have a fundamental grasp of ribbon controls, let's create a push button to access the command we just created. In this recipe, we will build a reusable function that we will use to add a push button control to a custom tab in the Revit ribbon.
Remember the manifest file and how to add new applications to it? We need to edit our
Revit2013Samples_VB.addin manifest file so that our new application class will load into the Revit session. Add the following block of code inside the
RevitAddIns attribute being careful not to nest it inside any other
<AddIn Type="Application"> <Name>Application Ribbon</Name> <Assembly>Revit2013Samples_VB.dll</Assembly> ...