The full source code of this sample project. In this example, we combine both the material quantity extraction tools and temporary suppression of cutting elements (opening, windows, and doors), to extract both gross and net material quantities. Here is the same wall after the cutting elements have been deleted:Įxample: Extraction of Gross and Net Material Quantities Instead of hide, you will want to make a temporary deletion: this can be done by creating a transaction, executing the deletion, extracting the needed quantities, and then aborting the transaction. Here is the same wall after hiding its hosted cutting elements, with the holes still remaining: Here is a wall before the hide of cutting elements: Note that use of the Hide method instead of Delete is not sufficient for this Hide will remove display of the cutting elements, but the holes left behind are still present. Relationship between a wall and its wall footing, or any When you delete elements that cut other elements, the cut element's geometry is restored to its original state.Īs another side note from Jeremy, we have already discussed some other interesting and surprising uses of temporary element deletion to determine theĪssociation between a tag and the tagged element, the
In fact, this capability exists in the Revit API, but it may not be obvious: it is the temporary use of the Delete method. What is needed to extract gross material quantities is a way to remove elements that cut other elements. These methods allow you to extract the material quantities for an as-modelled Revit project.īut what if you need to extract gross material quantities of layered elements like walls, floors, and roofs, where the quantities are extracted before they are cut or modified by other elements? These discrepancies tend to occur when you use the wall sweep tool to add a sweep or a reveal to a wall, or under certain join conditions. Note that the volumes and areas computed by Revit may be approximate in some cases.įor example, for individual layers within a wall, minor discrepancies might appear between the volumes visible in the model and those shown in the material takeoff schedule. Note that within these categories there are further restrictions about how material quantities can be extracted.įor example, curtain walls and curtain roofs will not report any material quantities themselves the materials used by these constructs can be extracted from the individual panel elements that make up the curtain system.Īs a side note from Jeremy, I just wonder whether these methods for querying the material volumes might possibly also be useful for the
Autodesk quantity takeoff cut list plus#
In practice, this is limited to elements that use compound structure, like walls, roofs, floors, ceilings, a few other basic 3D elements like stairs, plus 3D families where materials can be assigned to geometry of the family, like windows, doors, columns, MEP equipment and fixtures, and generic model families. The methods apply to categories of elements where Category.HasMaterialQuantities property is true. Element.GetMaterialArea – obtains the area of a particular material in an element.
Element.GetMaterialVolume – obtains the volume of a particular material in an element.Element.Materials – obtains a list of materials within an element.Revit 2010 introduced methods to directly obtain the material volumes and areas computed by Revit for material takeoff schedules: One common analytical requirement is to extract material quantities of elements in the document. This is the tenth and last part of Scott Conover's Autodesk University 2009 class on