Revit 2026 API
Duct |
Get the DuctSizes for this DuctShape.
Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public DuctSizes this[ DuctShape ductShape ] { get; }
Public ReadOnly Default Property Item ( ductShape As DuctShape ) As DuctSizes Get
public: property DuctSizes^ default[DuctShape ductShape] { DuctSizes^ get (DuctShape ductShape); }
member Item : DuctSizes with get
Parameters
- ductShape DuctShape
- The duct shape.
Return Value
DuctSizesThe DuctSizes for this DuctShape.
| Exception | Condition |
|---|---|
| ArgumentException | There is no DuctSizes for this DuctShape. |
| ArgumentNullException | A non-optional argument was NULL |
See Also