Files

32 lines
2.5 KiB
Plaintext
Raw Permalink Normal View History

2024-12-12 09:51:40 +01:00
{\rtf1\fbidis\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\froman\fprq2\fcharset0 Times New Roman;}}
{\colortbl ;\red0\green0\blue255;}
\viewkind4\uc1\pard\ltrpar\b\f0\fs20 Application:\b0 ArchSample\line\b Revit Platform:\b0 All\line\b Revit Version:\b0 2010.0\line\b First Released For:\b0 8.0\line\b Last Modified:\b0 02/26/2008\line\b Modified By:\b0 LL Autodesk\line\b Programming Language:\b0 VB.NET\line\b Skill Level:\b0 Medium\line\b Category:\b0 Data Exchange\line\b Type:\b0 ExternalCommand\line\line\b Subject:\b0 Export data to Excel.\line\b Summary:\b0 \line This sample exports the contents of an entire project to Microsoft Excel 2003.\f1\par
\i\par
\b\i0\f0 Classes:\b0 \par
\pard\ltrpar\fi360 Autodesk.Revit.IExternalCommand\f1\par
\f0 Autodesk.Revit.Collections.Map\par
Autodesk.Revit.Collections.MapIterator\par
Autodesk.Revit.ElementSet\par
Autodesk.Revit.Element\par
Autodesk.Revit.Parameter\f1\par
\f0 Autodesk.Revit.ParameterSet\par
Autodesk.Revit.Collections.Set\par
\pard\ltrpar\par
\b Project Files:\b0 \i\par
\i0 Command.vb\par
\pard\ltrpar\li360 It contains the class Command which implements interface IExternalCommand and main functions such as searching all the elements based upon category, sending the data to Excel.\par
\pard\ltrpar\i\par
\b\i0 Description:\b0 \f1\par
\f0 This sample provides following functionalities.\f1\par
\pard\ltrpar\fi-360\li360\tx360\f0 -\tab Search the entire Revit project and sort the elements based upon category. Revit Symbols (Types) are ignored as we are only interested in instances of elements.\f1\par
\pard\ltrpar\fi-360\li360\f0 -\tab Take a category and a set of elements that belong to that category and find the common properties between those elements.\f1\par
\f0 -\tab Send the names and values of these properties to Excel and add the category as a new sheet.\f1\par
\f0 -\tab Each category in the Revit project will be translated to a worksheet in Excel. Each sheet will contain a column for each parameter that is shared amongst the elements within that category, such as wall area.\f1\par
\pard\ltrpar\f0 The unit of values in the Excel will be imperial. To use metric unit some converting work should be involved.\f1\par
\par
\b\f0 Instructions:\cf1\b0 \f1\par
\cf0\f0 You must have Microsoft Excel 2003 or higher version for this sample.\par
\pard\ltrpar\fi-360\li360\tx360 1.\tab Open Revit.\f1\par
\pard\ltrpar\fi-360\li360\f0 2.\tab Execute the external command.\f1\par
}