Revit Dynamo - Area, length and volume

Overview

Intro

One of the shortest scripts, but for me the most used Dynamo script in recent years. It’s an easy way to find quantities of both length, area, and volume for a complex object.

Length

Use the node Select edges to pick the edges on the object you want to know the length of, Curve.Length will extract the length information from the edges selected, and Math.Sum summarize all the values.

To obtain the values in your preferred units, employ the node Convert By Units.

Length

Area

Use the node Select Faces to pick the faces on the object you want to know the area of,  Surface.Area will extract the area information from the faces, and Math.Sum summarize all the numbers

Since the node Surface.Area organizes the area data information in a two-level hierarchy we need to use the List.Flatten to flatten out the hierarch so the node Math.Sum will be able to read it.

To obtain the values in your preferred units, employ the node Convert By Units.

Area

Volume

 Use the node Select Modal Element to select the object in Revit, Element.Solids will recreate the element innside the Dynamo environment. Solid.Volume will extract the volume information.

Math.Sum summarize all the numbers

To obtain the values in your preferred units, employ the node Convert By Units.

Volume