Files
2024-12-12 09:51:40 +01:00

42 lines
2.3 KiB
Plaintext

{\rtf1\fbidis\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}{\f1\froman\fprq2\fcharset0 Times New Roman;}}
\viewkind4\uc1\pard\ltrpar\nowidctlpar\b\f0\fs20 Application:\b0 MaterialQuantities\line\b Revit Platform:\b0 All\line\b Revit Version:\b0 2011.0\line\b First Released For:\b0 2011.0\line\b Programming Language:\b0 C#\line\b Skill Level:\b0 Advanced\line\b Category:\b0 Geometry\f1\par
\b\f0 Type:\b0 ExternalCommand\line\line\b Subject:\b0 \par
Material quantity data extraction\par
\par
\b Summary:\b0 \line Outputs an analysis of the materials that make up walls, floors, and roofs, and displays the output in Excel.\b\par
\par
Classes:\b0 \par
System.Diagnostics.Process\par
System.Collections.Generic.Dictionary\par
Autodesk.Revit.DB.FilteredElementCollector\par
Autodesk.Revit.DB.LogicalAndFilter\par
Autodesk.Revit.DB.ElementClassFilter\par
Autodesk.Revit.DB.ElementCategoryFilter\par
Autodesk.Revit.DB.Material\par
Autodesk.Revit.DB.Transaction\par
\b\par
Project Files:\par
\b0 MaterialQuantities.cs\par
\par
\b Description:\b0 \par
\pard\ltrpar\nowidctlpar\fi-360\li720 1.\tab Collect all roof elements\par
2.\tab Iterate through each material found in each roof\par
3.\tab Find the net volume and area of the material\par
4.\tab Store the material quantities\par
5.\tab Write the results to the output file\par
6.\tab Find the gross material quantities\par
\pard\ltrpar\nowidctlpar\fi-360\li1440 a.\tab Start a new transaction\par
b.\tab Delete the elements that cut the host (doors, windows, openings)\par
c.\tab Find the volume and area for each material\par
d.\tab Store the material quantities\par
e.\tab Write the results to the output file\par
f.\tab Rollback the transaction\par
\pard\ltrpar\nowidctlpar\fi-360\li720 7.\tab Repeat the above steps for walls and floors\par
8.\tab Open the output file in Microsoft Excel\par
\pard\ltrpar\nowidctlpar\b\par
Instructions:\b0 \par
\pard\ltrpar\nowidctlpar\fi-360\li720\tx360 1.\tab Open MaterialQTestModel.rvt or RAC_DS_01_Door_Schedule_i.rvt\par
\pard\ltrpar\nowidctlpar\fi-360\li720 2.\tab Run the external command\par
3.\tab Microsoft Excel will open with a spreadsheet containing information about the material used in the model.\par
}