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