GetBarsNumber Method


Gets the number of bars specified in the layout options. This is used to calculate the sets driven by bar number.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0)
Since: 2018

Syntax

C#
public int GetBarsNumber()
Visual Basic
Public Function GetBarsNumber As Integer
Visual C++
public:
int GetBarsNumber()

Return Value

Returns the number of bars specified in the layout options.

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 →