Revit 2026 API
Rebar |
Reset the transformation representing the movement of the bar relative to its default position along the distribution path.
The moved bar transform will be set to Identity.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void ResetMovedBarTransform( int barPositionIndex )
Public Sub ResetMovedBarTransform ( barPositionIndex As Integer )
public: void ResetMovedBarTransform( int barPositionIndex )
member ResetMovedBarTransform : barPositionIndex : int -> unit
Parameters
- barPositionIndex Int32
- The bar index.

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. |
See Also