GetVolume Method


Piping System Get Volume Method

Gets the volume of this piping system.

Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public double GetVolume()

Return Value

Double
Exceptions
Exception Condition
InvalidOperationException The volume can not be calculated for this system.
Remarks
The publicly exposed method.
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 →