Sizing
|
Sets the next available size based on the specified inner diameter.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
Parameters
- innerDiameter Double
- The inner diameter threshold that the next available size must exceed.
- availableSizes ISet MEPSize
- The sorted list of available sizes, where the smallest possible size yet larger than the specified inner diameter will be selected.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| ArgumentOutOfRangeException | The given value for innerDiameter must be positive. -or- The innerDiameter must be within the range of availableSizes. |