RVTDocs.com

Rebar.MoveBarInSet

Method
Description:
This method applies the transformation matrix to the rebar bar at the desired position in the rebar set. If the bar was already moved, the method will concatenate the transformation matrix with the existing movement.
Syntax
public void MoveBarInSet(
	int barPositionIndex,
	Transform moveTransform
)
Parameters
Parameter Type Description
barPositionIndex Int32 The bar index of the rebar to apply the transformation.
moveTransform Transform The transformation matrix to apply to the specified rebar bar.
Return Value
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException barPositionIndex is not in the range [ 0, NumberOfBarPositions-1 ]. -or- moveTransform is not conformal.