RVTDocs.com

RebarInSystem.DoesBarExistAtPosition

Method
Description:
Checks whether a bar is included at the specified position.
Syntax
public bool DoesBarExistAtPosition(
	int barPosition
)
Parameters
Parameter Type Description
barPosition Int32 A bar position index between 0 and NumberOfBarPositions-1.
Return Value
Type Description
Boolean Returns true if the bar at the specified position is included, false otherwise.
Exceptions
Exception Condition
ArgumentOutOfRangeException barPosition is not in the range [ 0, NumberOfBarPositions-1 ].