Item Property


Get the DuctSizes for this DuctShape.

Namespace: Autodesk.Revit.DB.Mechanical
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2012

Syntax

C#
public DuctSizes this[
	DuctShape ductShape
] { get; }
Visual Basic
Public ReadOnly Default Property Item ( _
	ductShape As DuctShape _
) As DuctSizes
	Get
Visual C++
public:
property DuctSizes^ default[DuctShape ductShape] {
	DuctSizes^ get (DuctShape ductShape);
}

Parameters

ductShape
Type: Autodesk.Revit.DB.MechanicalDuctShape
The duct shape.

Return Value

The DuctSizes for this DuctShape.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException There is no DuctSizes for this DuctShape.
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was NULL

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →