Revit 2025.3 API
Conduit |
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.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public void RemoveSize( string standardName, double nominalDiameter )
Public Sub RemoveSize ( standardName As String, nominalDiameter As Double )
public: void RemoveSize( String^ standardName, double nominalDiameter )
member RemoveSize : standardName : string * nominalDiameter : float -> unit
Parameters
- standardName String
- The conduit standard name.
- nominalDiameter Double
- Nominal diameter.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| ArgumentOutOfRangeException | The given value for nominalDiameter must be greater than 0 and no more than 30000 feet. |
| InvalidOperationException | The function is called during iterating the size set. |
Does nothing if there is no existing ConduitSize with this nominal diameter.
See Also