Application: RoomViewer
Revit product and version: Revit Architecture 2008
Last Modified: 15/12/2006
Modified By: PP Autodesk HSL
Programming Language: VB.NET

Subject: This sample demonstrates the usage of room boundary and uses a helper program RevitViewer.

Classes:
Autodesk.Revit.Elements.Room
Autodesk.Revit.Rooms.BoundarySegmentArrayArray

Project Files:                                
Main.vb
As the main DLL source file, it contains the class Command which implements interface IExternalCommand and gets all room boundaries to draw.

Description: 
-	The room object can be queried for its boundary to use in space planning tools.
-	This property Boundary is used to retrieve the segments that constitute the boundary of the room. Each room may have several regions which contain several segments hence. The data will be returned in the form of an array of boundary segment arrays. See the Room.BoundarySegment object for more details about the segments that make up the room topology.

Instructions: 
1.	Draw walls to form a room (four walls, for example), place a room tag. 
2.	Run the external command. An outline of a room will be showed on a viewer.