Application: BarDescriptions
Revit Platform: Structure
Revit Version: 2011.0
First Released For: 9.0
Programming Language: C#
Skill Level: Beginning
Category: Structure
Type: ExternalCommand

Subject: Parameters of BarDescriptions.
Summary: 
This sample shows how to get parameters of BarDescriptions in a table. And allow the parameters information of BarDescriptions to be saved in an Excel .CSV file.

Classes: 
Autodesk.Revit.UI.IExternalCommand
Autodesk.Revit.DB.Structure.AreaReinforcement 
Autodesk.Revit.DB.Structure.BarDescription

Project Files: 
BarDescriptions.cs
This file defines class Command which Implements the IExternalCommand interface, and show user how to get BarDesscription and change its parameters.

BarDescriptionsForm.cs
This file defines a class BarDescriptionsForm inherit from Form. BarDescriptionsForm contains a list use to show all the Ids of AreaReinforcement and a DataGridView use to show information of BarDescription.

Description: 
This sample shows user how to find all BarDescriptions in the project and display their properties in a DataGridView. And allow the parameters information of BarDescriptions to be saved in an Excel .CSV file. The BarDescription is a property of an AreaReinforcement element, so some AreaReinforcement elements should be drawn first.

Instructions: 
1.	Draw some AreaReinforcements. (or open RVT file for AreaReinCurve sample)
2.	Run this command.