GetVolume Method


Gets the volume of this piping system.

Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2017

Syntax

C#
public double GetVolume()
Visual Basic
Public Function GetVolume As Double
Visual C++
public:
double GetVolume()

Remarks

The publicly exposed method.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsInvalidOperationException The volume can not be calculated for this system.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →