GetSizeCount Method


Gets the size count of the conduit size table. The conduit standard name the location of the size in the size table.

Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)
Since: 2017

Syntax

C#
public int GetSizeCount(
	string standardName
)
Visual Basic
Public Function GetSizeCount ( _
	standardName As String _
) As Integer
Visual C++
public:
int GetSizeCount(
	String^ standardName
)

Parameters

standardName
Type: System String
The conduit standard name.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException 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 →