O'Reilly logo

Instant Autodesk Revit 2013 Customization with .NET How-to by Don Rudder

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding and removing parameters (Become an expert)

You will occasionally run into situations where you need to add parameters to a model. There's not yet a way to add general parameters to a project model, but you can definitely add parameters from a shared parameter file and bind them to any category you like. We will build a quick command in this recipe demonstrating the concept of adding parameters from a shared parameter file and binding them to a category by name.

Getting ready

We need to edit our Revit2013Samples_VB.addin file again so that our new command will load into Revit. Add the following inside the RevitAddIns tag being careful not to nest inside any other command or application:

 <AddIn Type="Command"> <Text> Sample - Ch4 Add Parameters ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required