Application: DeckProperties
Revit Platform: All
Revit Version: 2011.0
First Released For: 8.1
Programming Language: C#
Skill Level: Beginning
Category: Parameters
Type: ExternalCommand

Subject: Display Deck Layer Properties.
Summary: 
This sample shows that how to get the properties of deck layer by RevitAPI.

Classes: 
Autodesk.Revit.UI.IExternalCommand
Autodesk.Revit.DB.CompoundStructureLayer
Autodesk.Revit.DB.FloorType
Autodesk.Revit.DB.CompoundStructureLayerFunction

Project Files:
Command.cs
This file contains the functions that how to get the properties of deck layer.

Description: 
-	Display the properties deck layer in a list. It contains Deck Profile, Deck Material, Concrete cover thickness and Concrete Material.
-	For concrete slabs, it contains Concrete thickness and Concrete material.
-	The CompoundStructureLayer layers can be obtained from the Autodesk.Revit.DB.FloorType’s CompoundStructureLayer property.

Instructions: 
1.	Draw a floor which contains some layers in Revit UI. A sample project file SlabProperties.rvt is available in the SlabProperties sample’s folder.
2.	Select the floor and run the command, it will show all the deck layer properties of the selected floor in a list.