Application: AllViews
Revit product and version: All
Last Modified: 30/12/2006
Modified By: PP Autodesk HSL
Programming Language: C#

Subject: This sample demonstrates how to generate a new sheet that includes all the selected views.

Classes: 
Autodesk.Revit.Elements.View
Autodesk.Revit.Elements.ViewSet
Autodesk.Revit.Creation.Document.NewViewSheet

Project Files:                                
AllViews.cs
It contains two classes:
-	The class Command which implements interface IExternalCommand, it is the entry of this external command.
-	The class ViewsMgr is responsible for generating a new sheet that has all the selected views placed in.

AllViewsForm.cs
It contains the class AllViewsForm which is a dialog. Following are the contents for this dialog:
-	A tree view represents all the views which can be placed in sheet.
-	A list of all title blocks that users can select one to create sheet.
-	A text box for users to input the name of the sheet to be created.

Description: 
This sample demonstrates the following functionalities:
-	Finds all the views and title blocks in the current project and display the names in a tree view. The user can select several views. When OK button is clicked, a new sheet is generated that has all the selected views placed in.
-	The most important class is ViewsMgr. It shows how to get all views from document, and how to generate a new sheet via RevitAPI.

Instructions: 
1.	Run this external command.
2.	Select the title block for the sheet being generated.
3.	Select views you want to place in the new sheet.
4.	Click OK button to generate new sheet.