O'Reilly logo

Mastering Autodesk® Revit® Architecture 2012 by James Vandezande, Eddy Krygiel, Phil Read

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

The Sample Project

Now that you have a basic grasp of the Revit API, let's build a project from scratch. The sample in this section contains both an external command and an external application. The command generates 3D workset views for each user-created workset found in the model. This type of view is commonly used to diagnose workset assignments for elements in the model. Each of these 3D views has all worksets turned off except for the workset for which the view is named. The external application adds a tab to the ribbon where you can access your custom command.

The code samples in this section are all written in VB.NET using Visual Studio 2010 Premium. If you prefer to work in C#, you can translate the code by pasting it into www.developerfusion.com/tools/convert/vb-to-csharp ...

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