Session 3.1
Creating a dockable project health scorecard using Revit API (Lab BYOD)
Synopsis:
This class will teach you how to create a WPF based dockable window with project health scorecard using Revit API.
(All LAB attendees must bring their own devices.)
Learning Objectives:
1. Learn how to setup a Revit addin, external command, and register a dockable window
2. Learn how to build a WPF based dashboard API that can be shown to the user via a dockable window
3. Learn how to build, test, debug and distribute a Revit addin using Visual Studio solutions
Body:
This is a Revit API class that will discuss the basics of creating a dockable window for Revit. Dockable windows can be placed alongside the Project Browser which makes them perfectly suited for something like a health score dashboards. These dockable windows can interact with the Revit project, as well as simply display information. In this class we will focus on making such window show useful metrics about model health, to nudge users to better take care of their models. The advantage of this solution over let’s say some annotation window on a start up page, is that it’s not owned by any particular user, and thus can easily be synched and saved avoiding any conflicts. In this class we will talk about:
-creating a revit addin and registering such dockable window
-creating an external command to show/hide a dockable window
-creating basic WPF based dashboard like UI to show some basic model metrics to the user
-storing and embedding information in a Revit model using Extensible Storage
This class means to introduce users to basic Revit API concepts around external addins, external commands, singleton classes, extensible storage, json serialization, and data extraction techniques. We will also talk about basic project setup, building and debugging Revit API projects.
(All installation instructions will be provided by the speaker.)