Revit 2026 API
Piping |
Gets the volume of this piping system.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public double GetVolume()
Public Function GetVolume As Double
public: double GetVolume()
member GetVolume : unit -> float
Return Value
Double
Exception | Condition |
---|---|
InvalidOperationException | The volume can not be calculated for this system. |

The publicly exposed method.
See Also