| Revit 2022 API |
| PipingSystem..::..GetVolume Method |
| PipingSystem Class See Also |
Gets the volume of this piping system.
Namespace: Autodesk.Revit.DB.Plumbing
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.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
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..InvalidOperationException | The volume can not be calculated for this system. |