Checks whether a bar exists at the specified position.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.484.0)
Since:
2013
Syntax
| C# |
|---|
public bool DoesBarExistAtPosition(
int barPosition
) |
| Visual Basic |
|---|
Public Function DoesBarExistAtPosition ( _
barPosition As Integer _
) As Boolean |
| Visual C++ |
|---|
public:
bool DoesBarExistAtPosition(
int barPosition
) |
Parameters
- barPosition
- Type: System..::..Int32
A bar position index between 0 and NumberOfBarPositions-1.
Return Value
Always returns true, since it is not possible to de-activate the first or last bars
in a Rebar set that is part of Area or Path Reinforcement.
(see includeFirstBar and includeLastBar methods for Rebar)
Remarks
Exceptions
See Also