{\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052\deftab420{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\froman\fprq2\fcharset0 Times New Roman;}} {\colortbl ;\red0\green0\blue255;} {\info{\horzdoc}{\*\lchars ([\'7b}{\*\fchars !),.:\'3b?D]\'7d}} \viewkind4\uc1\pard\ltrpar\nowidctlpar\b\f0\fs20 Application:\b0 RoomViewer\line\b Revit Platform:\b0 Architecture\line\b Revit Version:\b0 2011.0\line\b First Released For:\b0 8.0\line\b Programming Language:\b0 VB.NET\line\b Skill Level:\b0 Medium\line\b Category:\b0 Geometry\line\b Type:\b0 ExternalCommand\line\line\b Subject:\b0 View room boundary wireframe.\line\b Summary:\b0 \line This sample demonstrates the usage of room boundary and uses a helper program RevitViewer.\f1\par \par \b\f0 Classes:\b0\f1\par \pard\ltrpar\nowidctlpar\li420\f0 Autodesk.Revit.DB.Architecture.Room\par Autodesk.Revit.DB.Architecture.BoundarySegmentArrayArray\f1\par \pard\ltrpar\nowidctlpar\fi420\li420\par \pard\ltrpar\nowidctlpar\b\f0 Project Files:\b0 \cf1\f1\par \cf0\f0 Main.vb\f1\par \pard\ltrpar\nowidctlpar\li420\f0 As the main DLL source file\f1 ,\f0 it contains the class Command which implements interface IExternalCommand and gets all room boundaries to draw.\f1\par \pard\ltrpar\nowidctlpar\f0\par \b Description:\b0 \f1\par -\tab\f0 The room object can be queried for its boundary to use in space planning tools.\par \pard\ltrpar\nowidctlpar\fi-400\li400 -\tab 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\f1 .\f0 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.\par \pard\ltrpar\nowidctlpar\par \b Instructions:\cf1\b0 \cf0\par 1.\tab Draw walls to form a room (four walls, for example), place a room tag. \f1\par \f0 2.\tab Run the external command. An outline of a room will be showed on a viewer.\f1\par \par \pard\ltrpar\nowidctlpar\qj\kerning2\fs21\par }