Remove the existing MEPSize with this nominal diameter from the segment.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2013
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- nominalDiameter
- Type: SystemDouble
The nominal diameter of the size.
Remarks
Does nothing if there is no existing MEPSize with this nominal diameter.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.ExceptionsDisabledDisciplineException | None of the following disciplines is enabled: Mechanical Electrical Piping. |
| Autodesk.Revit.ExceptionsInvalidOperationException | The last size of the segment cannot be removed. |