Revit 2026 API
RebarReset |
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 should be in range [ 0, NumberOfBarPositions-1 ] and the bar at barPositionIndex should be included. |
See Also