Share

DuctSizeSettings.RemoveSize Method

Erase the existing MEPSize with this nominal diameter. The duct shape determines the location of the size in the size table.


Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public void RemoveSize(
	DuctShape shape,
	double nominalDiameter
)

Parameters

shape  DuctShape
The shape of duct.
nominalDiameter  Double
Nominal diameter.

Exceptions

ExceptionCondition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
InvalidOperationException Throws if the function is called during iterating the size set.

Remarks

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

See Also

Reference

Was this information helpful?