GetSizeCount Method


Get the size count of the duct size table. The duct shape determines the location of the size in the size table.

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

Syntax

C#
public int GetSizeCount(
	DuctShape shape
)
Visual Basic
Public Function GetSizeCount ( _
	shape As DuctShape _
) As Integer
Visual C++
public:
int GetSizeCount(
	DuctShape shape
)

Parameters

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

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration

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 →