Erase the existing ConduitSize with this nominal diameter. The conduit standard name determines the location of the size in the size table.
Namespace: Autodesk.Revit.DB.ElectricalAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2017
Syntax
C# |
---|
public void RemoveSize( string standardName, double nominalDiameter ) |
Visual Basic |
---|
Public Sub RemoveSize ( _ standardName As String, _ nominalDiameter As Double _ ) |
Visual C++ |
---|
public: void RemoveSize( String^ standardName, double nominalDiameter ) |
Parameters
- standardName
- Type: System..::..String
The conduit standard name.
- nominalDiameter
- Type: System..::..Double
Nominal diameter.
Remarks
Does nothing if there is no existing ConduitSize with this nominal diameter.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |
Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | The given value for nominalDiameter must be greater than 0 and no more than 30000 feet. |
Autodesk.Revit.Exceptions..::..InvalidOperationException | The function is called during iterating the size set. |