RVTDocs.com

RebarInSystem.SetBarIncluded

Method
Description:
Sets if the bar at the desired index is included or not.
Syntax
public void SetBarIncluded(
	bool include,
	int barPositionIndex
)
Parameters
Parameter Type Description
include Boolean True to include the bar, false to exclude the bar.
barPositionIndex Int32 The bar index.
Return Value
Exceptions
Exception Condition
ArgumentOutOfRangeException barPositionIndex is not in the range [ 0, NumberOfBarPositions-1 ].
InapplicableDataException For this RebarInSystem element individual bars can't be moved, excluded or included.