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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →