Skip to content

ConduitSizeSettings.RemoveSize

Public Class

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.0.0.0 (25.0.0.0)

Syntax

public void RemoveSize(
string standardName,
double nominalDiameter
)

Parameters

standardNameString

The conduit standard name.

nominalDiameterDouble

Nominal diameter.

Exceptions

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.


Remarks

Does nothing if there is no existing ConduitSize with this nominal diameter.