Checks whether a bar exists at the specified position.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public bool DoesBarExistAtPosition( int barPosition )
Parameters
- barPosition Int32
- A bar position index between 0 and NumberOfBarPositions-1.
Return Value
BooleanExceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | barPosition is not in the range [ 0, NumberOfBarPositions-1 ]. |