Application: Commands
Revit product and version: All
Last Modified: 20/12/2006
Modified By: CL Autodesk HSL
Programming Language: C#

Subject: This sample demonstrates how to create external commands for Revit.

Classes: 
Autodesk.Revit.IExternalCommand 
Autodesk.Revit.Elements.Wall

Project Files: 
Commands.cs
This file contains three classes CreateWall, DeleteWalls and AboutAPIToolbar which inherit from IExternalCommand interface and implement the Execute method, they are separately corresponding with three toolbar buttons’ commands in Toolbar sample.

AboutAPIToolbarForm.cs
This file contains a form class AboutAPIToolbarForm which consists of a rich text box to shows some information about custom toolbar.

Description: 
This sample provides the following functionalities:
-	Add an external command which will create a wall in Revit.
-	Add an external command which will delete all walls in Revit
-	Add an external command which will pop up a dialog. 

Instructions: 
1.	This sample should not be run in Revit directly; it’s only called via toolbar item command in Toolbar sample.